RyanBank
asked on
erase data inside an array
hi,
Please assist how can we erase the data and elements inside an array?
Thanks.
Please assist how can we erase the data and elements inside an array?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well, to clarify Angel's comment
Erase only completely removes dynamic arrays. In the case of static arrays it empties all of the data values (sets them to default for that data type).
Also, I do believe you can only use redim on a dynamic array.
Erase only completely removes dynamic arrays. In the case of static arrays it empties all of the data values (sets them to default for that data type).
Also, I do believe you can only use redim on a dynamic array.
By the way, if you totally want to kill the array you can use this command:
arr = Nothing