in reply to Re: Re: writing looped programs
in thread writing looped programs
So once the variable goes out of scope, its memory is flagged to be reused, iirc.Yeah - that's what I was thinking.
If the sleep is at the top of the loop, before any my variables have been declared, then the variables can't be taking up any memory.
If the sleep is at the end of the loop, then all my variables declared in the loop are still in scope, and therefore must continue to exist.
...right?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: writing looped programs
by count0 (Friar) on Jan 29, 2002 at 08:52 UTC |