|
-
May 23rd, 2001, 12:50 PM
#1
Erasing Arrays
I have a fixed array of objects (class I created) that I use in an Active X control. In the terminate event, I want to free the memory used by the array.
Currently, I'm using the Erase function. According to the VB help the Erase function "Sets each element to the special value Nothing." This sounds good, but what about the memory the array uses itself? Is this taken care of automatically, or should I Erase the array AND set it to nothing?
thanx/good luck,
adam
thanx/good luck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|