Toshiba KB-80 Computer Keyboard User Manual


 
- 26 -
ERASE
Function Erases the specified array from the program.
Format ERASE <array name> [, <array name> ] ···
Term <array name>: Array name to be erased
Explanation When there is not enough memory area while executing the program, arrays which
become unnecessary should be erased by using the ERASE statement. The areas of
erased arrays can be used for other arrays.
The ERASE statement can also be used for reinitializing the array which has been
used in the program for another object.
If the array declaration for the same array name is performed by the DIM statement
before the ERASE statement is used, a “Duplicate definition” error occurs.
If there is not a specified array name, an “Illegal function call” error occurs.
The ERASE statement erases the specified array only, however, the CLEAR
statement initializes all variables.