Remote Processing Coorporation RPC-320 Dokumentacja Strona 112

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 111
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
Przeglądanie stron 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag