Please try again, giving your < and > better spacing, and see if it works...
As for what a "for" loop does...
It first assigns your variable to the first thing you give it, so your variable starts at zero. The second parameter tells it how long to increment by checking whether or not the statement is true, so it will increment until the second thing is false. The third parameter generally tells it how much to increment by, for instance, an x++ would increment by one, while x+=10 would increment by ten, every time you go through the for loop. You may also increment by another variable, but be careful not to increment overall by zero or you will probably have an infinite loop on your hands. It will repeat the code after the for statement, either a single line or a bunch of code in {'s, until the second parameter is false.
-fel
[This message has been edited by felisandria (edited December 07, 1999).]