Remote-processing CAMBASIC Manual do Utilizador Página 157

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 208
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 207 208

Comentários a estes Manuais

Sem comentários