It sounds like you aren't interested in counting backwards in your loop.
In English, the FOR statement is saying:
is Index greater than something yet? If no, process code. If yes, stop processing code.
So you have not broken any rules, and it is a perfectly valid scenario. Unusual, but valid.
This is also valid, and helps to explain your scenario.
something can change during the lifetime of the loop...
something = 5
for i = 1 to something
if i = 3
something = 0
endif
//blah
next i
...and will end after the third loop, because
something has become less than i.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt