Remote-processing CAMBASIC Manuale Utente Pagina 122

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 208
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 121
Commands - 89
ON KEYPAD$
Tasking Statement
SYNTAX: ON KEY PAD $ GO SUB line/label
ON KEYPAD$ GOSUB
ON KEYPAD $ size GOSUB line/lable
ON KEYPAD $ size GOSUB
PURPOSE: To cause a progr am branch when any key is pressed on the keypad. Using this com mand w ithout a
line/label disables keypad tasking.
REMARK S: The program branch will respond to any key being pressed. The interrupt service routine can then
filter the character s.
The first two syntaxes are for the RPC-2300 and RPC-150. Only a 16 position keypad is supported
on these cards.
The last two syntax are for the RPC-2350 and RPC-2350G. size specifies the keypad size of 16 or
24.
RELATED: KEYPA D$, 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
Vedere la pagina 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 207 208

Commenti su questo manuale

Nessun commento