But that said, using global like this is usually an indicator of poorly factored design. Instead design your code so that you return the array instead of manipulate it. That kind of design tends to be more flexible and ages much better.
In reply to RE (tilly) 1: Array mysteriously disappears on loop exit...
by tilly
in thread Array mysteriously disappears on loop exit...
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |