Erase
The Erase subroutine will clear all of the values
in a static array. If the values in the array are numeric,
this will set all of the values to zero. If the elements
of the array are string, then all values will be set to the
empty string ("").
Dim aArray(3)
aArray(0) = 12 aArray(1) = 2 aArray(2) = 30 Erase aArray
When used on a dynamic array, the Erase subroutine will
free up the member used by all of the dynamic elements and set
the array to "zero-size".
Dim aArray(0)
ReDim Preserver aArray(3) aArray(0) = 12 aArray(1) = 2 aArray(2) = 30 Erase aArray
|
 |

|