HTBasic Help
×
Menu
Index

CLEAR Statement

 
The CLEAR statement causes the active controller to send a Device Clear command to one or more devices. The effect on the device is device-dependent. You specify either an device selector or an I/O Path. This statement is only supported by the IEEE-488 interface. For example:
 
ASSIGN @Counter to 7
CLEAR @Counter
 
If primary addressing is specified, the bus action is: ATN, MTA, UNL, LAG, SDC. If only an interface select code is specified, the bus action is: ATN, DCL. If the computer is not the active controller, an error is generated.