ERASE
ERASE var[, var[, … var]]
Deallocates the memory used by the specified arrays or variables. After that these variables turned to simple integers with zero value.
Example
DIM x(100)
1) = 1
x(2) = 2
x(
ERASE x
PRINT x(1) ' This will create an error
Code samples using ERASE
2048.bas
2048.bas
anball 1.0.bas
betrayal: crows ii.bas
bezier's autograph book.bas
bezierbounce.bas
checkers.bas
checkers.bas
chess.bas
chess.bas
crow.bas
dmsareaplot.bas
dmsareareadmd.bas
falling blocks - tetris.bas
gridareaplot.bas
image_demo.bas
klotski_solver.bas
klotski_solver.bas
mouse springs v1.bas
mouse springs.bas
plasma magnifico.bas
rogue trader.bas
sokoban.bas
sokoban.bas
sokoban.bas
star_field.bas
star_field.bas
sudoku.bas
sudoku.bas
Data
APPEND
ARRAY
DATA
DELETE
DIM
EMPTY
ERASE
INSERT
ISARRAY
ISDIR
ISFILE
ISLINK
ISMAP
ISNUMBER
ISSTRING
LBOUND
LEN
READ
REDIM
RESTORE
SEARCH
SORT
SWAP
UBOUND
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 a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.