Argox PA-20 Basic Programming Manual Instrukcja Użytkownika Strona 34

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 143
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 142 143

Komentarze do niniejszej Instrukcji

Brak uwag