|
-
Jul 6th, 2002, 11:06 AM
#1
Thread Starter
Fanatic Member
Disposing an array of classes
I have a class written that I instantiate into an array (one dimension) that is constantly Redimensioned.
When I exit the program, how do I properly dispose of every entity? Do I loop through all the elements in the array and dispose each one, or can I just use
ReDim MyArray(0)
MyArray(0).Dispose
(assuming that ReDim will automatically dispose array elements 1, 2, etc... when I shorten the array)
TIA
-C
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
|