local only works on global variables. It puts a temporary value into the global variable until the current block is left. Also see Seven Useful Uses for Local.
In reply to Re^3: Are global variables "bad"?
by Corion
in thread Are global variables "bad"?
by jpearl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |