You already have one good answer, but another way to test would be to set $n to some value (say, 255) before the loop, and see what prints out.
In reply to Re: for loop localisation bug?
by talexb
in thread for loop localisation bug?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |