Re: Wierd ArrayIndexOutOfBounds



Sathyaish wrote:
Oh, thank you, Tom!

:-)

You made my day. What a profound piece of learning. It is a wonder
that we learn from the smallest of examples, the most valuable
lessons. I've been programming for several years but only just
discovered this. That was because I never wrote such a large for loop
statement in commercial code. In practice sessions, though, one learns
the most.

Thank you once again.

You avoid this issue if you put the loop body in, well, the loop body instead of the header.

--
Lew
.