User`s guide

42
CipherLab BASIC Compiler
User's Guide
6 READER Event: a barcode data is decoded.
7 TCPIP Event: any data packet is received via TCP/IP.
8 TIMER Event: a time-out condition of an activated timer.
9 TOUCHSCREEN Event: a touchable item is activated by selecting.
OFF ALL
Purpose
To disable all the event triggers.
Syntax
OFF ALL
Remarks
All the event triggers will be disabled. To resume the event trigger, the command
ON event GOSUB... has to be called.
Example
ON READER(1) GOSUB BcrData_1
ON READER(2) GOSUB BcrData_2
ON KEY(1) GOSUB KeyData_1
...
IF BACKUP_BATTERY < BATTERY_LOW% THEN
OFF ALL
BEEP(2000,30)
CLS
PRINT "Backup Battery needs to be replaced!"
Loop:
GOTO Loop
END IF
See Also
OFF COM, OFF ESC, OFF HOUR_SHARP, OFF KEY, OFF MINUTE_SHARP,
OFF READER, OFF TCPIP, OFF TIMER, OFF TOUCHSCREEN
OFF COM
Purpose
To terminate the "COM Event Trigger" that executes a specific subroutine when
data is received from the COM ports.
Syntax
OFF COM(N%)
Remarks
"N%" is an integer variable, indicating the COM port.