Specifications
Commands - 82
ON KEYPAD$
Tasking Statement
SYNTAX: ON KEYPAD$ GOSUB line/label
ON KEYPAD$ GOSUB
PURPOSE: To cause a program branch when any key is pressed on the keypad. Using this command without a
line/label disables keypad tasking.
REMARKS: The program branch will respond to any key being pressed. The interrupt service routine can then
filter the characters.
See the Multitasking Chapter for more information.
RELATED: KEYPAD$, SYS(8)
EXAMPLE: 10 ON KEYPAD$ GOSUB 70
20 '
30 GOTO 20
.
.
70 PRINT KEYPAD$(0)
80 RETURN
ERROR: <Can’t compile> – if line/label does not exist