Remote-processing CAMBASIC Manuale Utente Pagina 157

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 208
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 156
Commands - 124
STOP BIT
Tasking Statement
SYNTAX: STOP BIT task [,task] . . .
PURPOSE: To disable a bit that has previously been defined with an ON BIT statement and enabled with a
STAR T BIT statement.
REMARK S: You can reenable the task by using the START BIT statement. You do not need to re-execute the
ON BIT statement.
See the Multitasking Chapter for more information.
RELATED: BIT function and statement, ON BIT, START BIT
EXAMPLE: 10 ON BIT 0,2,0 GOSUB 60
20 START BIT 0
30 PRINT "waiting..."
40 DELAY .5
50 GOTO 30
60 IF BIT(0,0) = 0 THEN PRINT"closed" ELSE PRINT "open"
70 STOP BIT 0
80 RETURN
ERROR: < Data out of range> If task number > 7
< Data negative> for task number
Vedere la pagina 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 207 208

Commenti su questo manuale

Nessun commento