Greetings,
I've been reading on the various methods used to release memory/ manage it and frankly I'm a bit confused.
This is what I'm trying to accomplish:
My program starts off by declaring/defining some vars, opening a directory and grabing some text files. If no text files our found I would like the application to exit and release all variables properly for the GC.
Currently, I have a code segment at the very end the subprocedure that sets every variable equal to nothing (which I believe properly sets vars for GC), but I know a better exists. Any advice?
I think it would be great to pass "Me" as a parameter to a method that just cycles through any declared variables and disposes of them. However, I just can't find any info...and what I find is a bit over my head
Thanks in Advance, I look forward to spending many long nights on this forum!
_Milo
I've been reading on the various methods used to release memory/ manage it and frankly I'm a bit confused.
This is what I'm trying to accomplish:
My program starts off by declaring/defining some vars, opening a directory and grabing some text files. If no text files our found I would like the application to exit and release all variables properly for the GC.
Currently, I have a code segment at the very end the subprocedure that sets every variable equal to nothing (which I believe properly sets vars for GC), but I know a better exists. Any advice?
I think it would be great to pass "Me" as a parameter to a method that just cycles through any declared variables and disposes of them. However, I just can't find any info...and what I find is a bit over my head
Thanks in Advance, I look forward to spending many long nights on this forum!
_Milo