Statement to erase arrays
Syntax
Usage
Erase( array0 [, array1 ... arrayN ] )
Parameters
array
An array to be erase.
Description
Erases the element data of one or more variable-length arrays from memory, or clears (initializes) all elements in a fixed-length array.
Example
Dim MyArray1(1 To 10) As Integer
ReDim MyArray2(1 To 10) As Integer
Erase MyArray1, MyArray2
Differences from QB
See also