Remote-processing CAMBASIC Manual do Utilizador Página 122

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 208
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 207 208

Comentários a estes Manuais

Sem comentários