Erase Statement


Erase Statement

Syntax

     Erase arrayList 


arrayList (required)

A list of one or more comma-delimited array variable names to clear

Description

The Erase statement releases an array object and all of its items. This is equivalent to setting the array variable to Nothing.

Usage at a Glance

  • The Erase statement causes all memory allocated to arrays to be released.

  • Once you use Erase to clear an array, it must be redimensioned with ReDim before being used again.

See Also

Dim Statement, ReDim Statement




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net