I agree. If the variable used as the loop variable is a pre-existing variable and my is not used, it should not be localised and retain is final value after the loop body.
In reply to Re^4: no chunk is too small
by BrowserUk
in thread Last undefines a for loop's itererator?
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |