Revision [17227]

This is an old revision of KeyPgErase made by FxMwikki on 2014-09-03 04:08:45.

 

ERASE


Statement to erase arrays

Syntax:
Usage:
Erase( array0 [, array1 ... arrayN ] )

Parameters:
array
An array to be erased.

Description:
Using Erase on a fixed-length array clears (re-initializes) all elements.
Using Erase on a variable-length array (array already sized) frees the memory used by the element data (does not allow to after resize it with a different number of dimensions).

Examples:
Dim MyArray1(1 To 10) As Integer
ReDim MyArray2(1 To 10) As Integer

Erase MyArray1, MyArray2


Differences from QB:
See also:
Back to Array Functions
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode