ID:260013
 
Is it possible to destruct a variable? Maybe with del or some such, but just a way to clear out the memory. I know that local variables are deleted when the function ends, but I was thinking that for longer procs if you could delete variables once they are no longer needed

RD
Rurouni Dragon wrote:
Is it possible to destruct a variable? Maybe with del or some such, but just a way to clear out the memory. I know that local variables are deleted when the function ends, but I was thinking that for longer procs if you could delete variables once they are no longer needed

Local variables will go away when no longer needed.

You shouldn't have an individual proc that is keeping stuff around long enough for it to be a problem...if you do, that's a coding problem...:)