Site hosted by Angelfire.com: Build your free website today!
NAME
  ERASE Statement

SYNOPSIS
  ERASE arrayname [,arrayname]...
      o arrayname    The name of an array.
      o For static arrays, ERASE sets each element of a numeric array to zero
        and each element of a string array to null.
      o For dynamic arrays, ERASE frees the memory used by the array. You must
        redeclare the array's dimensions with REDIM or DIM before using it.

DESCRIPTION
  Reinitializes array elements or frees dynamic array storage space.

  Example:
      DIM a%(0)
      a%(0) = 6
      PRINT "Before: "; a%(0)
      ERASE a%
      PRINT "After: "; a%(0)

SEE ALSO
  CLEAR DIM REDIM