Is there a quick way, other then iterating through the array, to destroy an array of objects.
For example:
dim myArray() as clsMyClass
Now assume that it is loaded with objects. How would one go about destroying the thing?
I am pretty sure this would work:
for i = 1 to ubound(myArray)
set myArray(i) = nothing
next i
But there has to be a better way.....
Any Comments...
Troy Williams B.Eng.
fenris@hotmail.com
For example:
dim myArray() as clsMyClass
Now assume that it is loaded with objects. How would one go about destroying the thing?
I am pretty sure this would work:
for i = 1 to ubound(myArray)
set myArray(i) = nothing
next i
But there has to be a better way.....
Any Comments...
Troy Williams B.Eng.
fenris@hotmail.com