51
CHAPTER 5: Command Descriptions
ERASE Command
The ERASE command is used to delete previously defined macro buffers and return the memory they
occupy back to the USER heap. Macro buffers can be individually specified by their number, or all macro
buffers may be erased and returned by a single ERASE command without a buffer number specifier.
SYNTAX
ERASE[;][number]
number is a Macro Buffer number from 0 to 99. If not specified, all macro buffers
are erased.
RESPONSE
None
MODE
Any
BUS STATES
None
EXAMPLES:
PRINT#1,"ERASE"
Erase all macro buffers
PRINT#1,"ERASE 20"
Erase macro buffer #20
ERROR Command
The ERROR command enables or disables automatic reporting of the 488 Controller error messages on
command completion. ERROR MESSAGE enables error message string reporting, ERROR NUMBER
enables error message number reporting, and ERROR OFF disables it. ERROR OFF is the default condition.
While macros are executing, error reporting is suspended until macro completion.
SYNTAX
ERROR[;]{MESSAGE|NUMBER |OFF}
RESPONSE
None
MODE
Any
BUS STATES
None
EXAMPLES
PRINT#1,"ERROR OFF"
Disable error message reporting.
PRINT#1,"ERROR MESSAGE"
Enable error message reporting.
PRINT#1,"ERROR NUMBER"
Enable error number reporting.