Argox PA-20 Basic Programming Manual Bedienungsanleitung Seite 44

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 143
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 43
PT-Basic Programming Manual Ver. 1.00 43/143
3.7 Reader commands
DISABLE READER
Purpose
To disable the reader ports of the terminal.
Syntax
DISABLE READER(N%)
Example
DISABLE READER(1)
Description
N% is an integer variable, indicating the reader port (now we
only can choose 1).
ENABLE READER
Purpose
To enable the reader ports of the terminal.
Syntax
ENABLE READER(N%)
Example
ON READER(1) GOSUB SCAN
ENABLE READER(1)
SCAN:
OFF READER(1)
CLS
A$=GET_READER_DATA$(1,4)
PRINT "DATA:"+A$
LOCATE 0,2
A$=GET_READER_DATA$(1,1)
PRINT "Name:"+A$
LOCATE 0,4
PRINT GET_READER_DATALEN
LOOP1:
S1$=INKEY$
IF S1$="" THEN
GOTO LOOP1
END IF
ON READER(1) GOSUB SCAN
RETURN
Description
N% is an integer variable, indicating the reader port (now we
only can choose 1).
Seitenansicht 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 142 143

Kommentare zu diesen Handbüchern

Keine Kommentare