ERASE

Synopsis
ERASE contentslist
ER contentslist
Description

Erases the procedures, variables, and property lists named in contentslist. Once erased, the named things cannot be called or referenced. Primitive procedures are not erased unless the variable REDEFP has the value TRUE.

ERASE does not throw an error if it is asked to erase a procedure, variable, or property list that is not in the workspace. However, ERASE does throw an error when it is asked to erase a primitive when REDEFP either has not been set, or is FALSE.

See the Workspace Queries section for an explanation of the formats of contentslist.

Example
TO FOO
  PRINT "hello
END

FOO
hello
ERASE "FOO
FOO
I don't know how to FOO

SourceForge.net Logo