I would suggest using the exact loop style for this situation
Or the perlish for my $count (1..9) { ... } (personally I reserve for (;;) for more complex cases like modifying the loop variable in the loop body, but TIMTOWTDI).
In reply to Re^2: Not understanding while loop counting
by haukex
in thread Not understanding while loop counting
by zapdos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |