Erase Instruction

Syntax:
Erase array[, ...]
Group: Assignment
Description:
Reset array to zero. (Dynamic arrays are reset to undimensioned arrays.) String arrays values are set to a null string. Array must be declared as an array using Dim, Private, Public or Static.
Example:

Sub Main
Dim
X%(2)
X%(1) = 1
Erase X%
Debug
.Print X%(1) ' 0
End
Sub