Remote Processing Coorporation RPC-320 Specifikace Strana 139

  • 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 138
Commands - 109
START INP
Tasking Statement
SYNTAX: START INP n [,n1] [,n2]
PURPOSE: To enable one or more INP tasks declared by the ON INP statement.
REMARKS: The task parameters are defined by the ON INP statement. START INP activates the task.
NOTE: You must execute an ON INP statement first for each corresponding START INP.
You may start more than one task at a time.
RELATED: STOP INP, ON INP
See the Multitasking Chapter for more information.
EXAMPLE: This demonstration program can be expanded to do more complex tasks. The state of the input lines
are printed by line 30.
10 ON INP 0,3,7,5 GOSUB 60
20 START INP 0
30 PRINT BIN$(INP(0))
40 DELAY .25
50 GOTO 30
60 PRINT "match"
70 RETURN
ERROR: <Data negative> – for n
<Data out of range> – if n > 7
Zobrazit stránku 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 185 186

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

Žádné komentáře