Argox PA-20 Basic Programming Manual Uživatelský manuál Strana 30

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 143
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 29
PT-Basic Programming Manual Ver. 1.00 29/143
3.5 Commands for event trapping
OFF ALL
Purpose:
To terminate all the event triggers.
Syntax:
OFF ALL
Example:
ON ESC GOSUB ESC_PRESS
…
ESC_PRESS:
OFF ALL
PRINT "ESC KEY PRESS..."
ON ESC GOSUB ESC_PRESS
RETURN
Description:
To resume the event trigger, call ON event GOSUB…
OFF ESC
Purpose:
To terminate ESC event trigger.
Syntax:
OFF ESC
Example:
ON ESC GOSUB ESC_PRESS
…
ESC_PRESS:
OFF ESC
…
ON ESC GOSUB ESC_PRESS
RETURN
Description:
To resume the event trigger, call ON ESC GOSUB…
OFF COM
Purpose:
To terminate COM event trigger.
Syntax:
OFF COM(N%)
Example:
ON COM(1) GOSUB READ1
…
READ1:
OFF COM(1)
…
ON COM(1) GOSUB READ1
RETURN
Description:
N% is an integer variable, indicating the COM port. Now we
only can choose 1(RS232).
To resume the event trigger, call ON COM… GOSUB…
Zobrazit stránku 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 142 143

Komentáře k této Příručce

Žádné komentáře