ERASE
This page was last modified 13:32, 29 May 2020 by Mars2000you. Based on work by Gdx and Snout.

Contents

Syntax

Frees memory by erasing one or more arrays.

Syntax

ERASE <ArrayVariable>,<ArrayVariable>...

Note: Parameters can not end with a comma alone.

Parameter

<ArrayVariable> is an array of numeric variables or string variables (also named as alphanumeric variables) that has been created with the DIM instruction.

Example

10 DIM A(100),X$(60)
...
500 ERASE A,X$

Related to

CLEAR, DIM

Compatibility

MSX-BASIC 1.0 or higher