GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • News
  • Community
  • Resources
  • Language Reference
  • SmallBASIC Manual

This view

  • Original page
  • New address

GeezerVison is showing smallbasic.github.io — SmallBASIC | ERASE

Edit History

ERASE

ERASE var[, var[, … var]]

Home > Reference > Data

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)

x(1) = 1
x(2) = 2

ERASE x

PRINT x(1)    ' This will create an error
Code samples using ERASE
2048.bas   anball 1.0.bas   betrayal: crows ii.bas   bezier's autograph book.bas   bezierbounce.bas   checkers.bas   chess.bas   crow.bas   dmsareaplot.bas   dmsareareadmd.bas   falling blocks - tetris.bas   gridareaplot.bas   image_demo.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   tetris.bas   TinyBASIC.bas   water.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  
This page was last edited on Sun, 26 Feb 2023 19:17:02 +0100 | Markdown processed with pandoc 3.1.12.1
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.