Remote-processing CAMBASIC Manual de usuario Pagina 157

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 208
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 207 208

Comentarios a estos manuales

Sin comentarios