Remote Processing Coorporation RPC-320 Specifikace Strana 112

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 185 186

Komentáře k této Příručce

Žádné komentáře