| ERASE (ER) | |
| Syntax | ERASE ALL ERASE procname ERASE procname1 procname2 procname3 ... ERASE NAMES ERASE PROCEDURES ERASE PROPERTIES |
| Explanation | ERASE removes the definition of its
input from the workspace. The input to ERASE must be an
unquoted procedure name or series of procedure names. To
remove individual variables from the workspace, use ERN. ERASE erases all definitions of
a name, including its aliases defined with the ALIAS command, regardless whether
the original name or an alias name is used as input. ERASE NAMES removes all user-defined variables from the workspace. ERASE PROCEDURES removes all procedures from the workspace. ERASE PROPERTIES removes all property lists from the workspace. ERASE ALL removes all procedures and variables from the workspace. ERASE does not evaluate its input. Therefore, you can
supply the inputs without quoting them. If you want Logo
to evaluate an input, surround it with parentheses. |
| Examples | ERASE SQUARE ERASE (ITEM 2 PROCLIST) ERASE SQUARE CIRCLE TRIANGLE ERASE ALL |