Contents Previous Next Subchapters

Starting A New Program
Syntax clear
See Also clear function , autoexec
Menu Command File | New

Erases all variables, constants, user-defined functions, and labels.

If you enter
     x = 5
     print x
O-Matrix will respond
If you now enter
     print x
O-Matrix will respond with an error message because x is no longer defined.

The clear command does not erase debugger breakpoints or watchpoints . The dall command can be used to do this.