Thanks y'all for bearing with me!  I am a little hard headed, but I get
things in time.  I appreciate your generosity.

Okay, I made the change Sheri suggested (that always works!).
I understand now!
I was telling it to re-iterate the for loop for the length of the string
contained in m[0]!
What I wanted was to re-iterate the loop for the length of how many rows
were contained in the vector!
And I did add the break.  I have done this before with BCX code, but the
terminology is different.  I had never heard of calling a 2D array a
"vector", but I suppose it makes good sense.  What is the difference
between a map and a vector?  I understand vector, but from the help
file, I couldn't understand map.


>If you debug m[0] just before this line:
>for (local i=0; i<m[0].length; i++)
>you learn that m[0] is the string "january", which has a length of 7! 
So your loop is over prior to i (with which you index rows) being equal
to 7 where August is located.
>Instead of i<m[0].length, you could use i<m.length/3
>You could also add a break command after setting the result variable 
in that loop, so that it quits the loop after locating the answer.



Reply via email to