
3.5
Commands for event trapping
Purpose
Κ
To terminate all the event triggers.
Syntax
Κ
OFF ALL
Example
Κ
ON ESC GOSUB ESC_PRESS
…
ESC_PRESS:
OFF ALL
PRINT "ESC KEY PRESS..."
ON ESC GOSUB ESC_PRESS
RETURN
Description
Κ
To resume the event trigger, call
ON event GOSUB…
Purpose
Κ
To terminate ESC event trigger.
Syntax
Κ
OFF ESC
Example
Κ
ON ESC GOSUB ESC_PRESS
…
ESC_PRESS:
OFF ESC
…
ON ESC GOSUB ESC_PRESS
RETURN
Description
Κ
To resume the event trigger, call
ON ESC GOSUB…
Purpose
Κ
To terminate COM event trigger.
Syntax
Κ
OFF COM(N%)
Example
Κ
ON COM(1) GOSUB READ1
…
READ1:
OFF COM(1)
…
ON COM(1) GOSUB READ1
RETURN
Description
Κ
N%
is an integer variable, indicating the COM port. Now we
only can choose 1(RS232).
To resume the event trigger, call
ON COM… GOSUB…
T P C 7 0 3 0
Programming Manual Ver. 1.00
30/131