Argox PA-20 Basic Programming Manual Manual de usuario Pagina 34

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 143
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 33
PT-Basic Programming Manual Ver. 1.00 33/143
ON ESC GOSUB
Purpose
To activate ESC event trigger.
Syntax
ON ESC GOSUB SubLabel | SubName
Example
ON ESC GOSUB ESC_PRESS
ESC_PRESS:
OFF ESC
ON ESC GOSUB ESC_PRESS
RETURN
Description
When ESC key is pressed, a specific subroutine will be
executed.
ON HOUR GOSUB
Purpose
To activate HOUR event trigger.
Syntax
ON HOUR GOSUB SubLabel | SubName
Example
ON HOUR GOSUB OnHourAlarm
OnHourAlarm:
CurrentTime$=TIME$
H%=VAL(LEFT$(CurrentTime$,2))
FOR I%=1 TO H%
BEEP(30,20,0,0)
WAIT(100)
NEXT
RETURN
Description
When the system time is on the hour, a specific subroutine
will be executed.
Vista de pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 142 143

Comentarios a estos manuales

Sin comentarios