Remote-processing CAMBASIC Manual do Utilizador Página 65

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 208
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 64
Commands - 32
DELAY
Statement
SYNTAX: DELAY n
PURPOSE: To create a precision delay. T he resolution is 5 mS (10 mS on 9 MHz systems).
REMARK S: Program execution is suspended during the delay period. Interrupt service will be delayed until the
end of the delay period. For breakable delays, use a FOR/N EXT loop.
For applications which require high accuracy, the execution of the DELAY statement itself and the
number of interrupts occurr ing must be considered.
If a delay of 0 is specified, the delay will be less than 0.5 mS.
NOTE: This command uses a 5 mS system clock (10 mS in 9 MHz systems). The actual delay can
vary by 0.005 (0.010) seconds. Background tasks are latched but not serviced during the delay
period. Pressing < ESC> will abort the delay and stop the program.
RELATED: None
EXAMPLE: 10 DELAY .5 delays ½ second
10 DELAY 3.25 delays 3.25 seconds
ERROR: < Data negative> for n
< Time > 327.67> - for n
Vista de página 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 207 208

Comentários a estes Manuais

Sem comentários