ERASE
This page was last modified 23:53, 5 December 2016 by Mars2000you. Based on work by Gdx and Snout.

Contents

Syntax

Frees memory by erasing one or more arrays.

Syntax

ERASE <array name>[,<array name>][,...]

Parameter

<array name> is an alphanumeric variable or a string that has been created with a DIM instruction.

Example

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

Related to

CLEAR, DIM

Compatibility

MSX-BASIC 1.0 or higher