Clears the Window contents and formula.
CLEAR(W1, W2, ..., WN)
Optional. A range or list of one or more Windows or a variable, macro or function name. Defaults to the current Window.
clears the current Window.
clear(W1, W5, W9)
clears Windows 1, 5, and 9.
clears Windows 3 through 8.
clears Window 1 using the shorter command form. Only one Window at a time can be cleared using this syntax.
CLEAR can also delete variables, user defined functions and macros.
a = 10
deletes variable a.
removes the SPL function myfun from memory.
A cleared Window propagates throughout the entire Worksheet. If W2 depends on W1 and W1 is cleared, DADiSP will clear the data in W2 and display the symbol ** NA ** (not available) in the center of W2. The Window formula in W2 is not cleared. To prevent losing important Windows, use PROTECT.
As shown, CLEAR can also delete variables, user defined functions and macros.
See RESETMACROS to delete all user defined macros and restore system macros to their original definitions.