ERASE

SmallBASIC syntax groups: 


Data statement ERASE


10
20  ERASE var[, var[, … var]]
30
Deallocates the memory used by the specified arrays or variables. After that these variables turned to simple integers with zero value.


See examples


If there is insufficient information on this page and you wish learn more about ERASE, please send an email to smallbasic@gmail.com. You can help to improve information about ERASE by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

DIM x(100)
...
PRINT FRE(0)
ERASE x
PRINT FRE(0)
PRINT x(1):REM ERROR