PI1X Basic Programming Manual Ver. 1.10
29/156
Purpose
:
To terminate HOUR event trigger.
Syntax
:
OFF HOUR
Example
:
ON HOUR GOSUB A10
…
A10:
OFF HOUR
…
ON HOUR GOSUB A10
RETURN
Description
:
To resume the event trigger, call
ON HOUR GOSUB…
Purpose
:
To terminate KEY event trigger.
Syntax
:
OFF KEY(number%)
Example
:
ON KEY(1) GOSUB F1
ON KEY(2) GOSUB F2
…
F1:
OFF KEY(1)
…
ON KEY(1) GOSUB F1
RETURN
F2:
OFF KEY(2)
…
ON KEY(2) GOSUB F2
RETURN
Description
:
To resume the event trigger, call
ON KEY… GOSUB…
number%
is an integer variable in the range of 1 to 6,
indicating a function key of the keypad.