Originally Posted by Crepusculu
Do for-loop variables override preexisting variables and build new localized ones?
|
Yes, they do. Variables that appear in
for i=... or
for i,v in ... loop syntax are new and local to the loop. You cannot bypass this behavior.