I replaced that recursive sub with a while loop and yeah, makes more sense, less code, and no memory bomb. ThanX
Concerning your memory growth, we'd need to know how you declared the "global var".
Sorry I was mistaken about that :-/
In reply to Re^6: sub calls and memory use
by Anonymous Monk
in thread sub calls and memory use
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |