4-5
Section
Connection Examples
63
Program Example
100 CLOSE #1
110 OPEN ”COM:E73NN” AS #1 (OPEN communications port)
120 PRINT #1,”@GL”+CHR(&H0D) (Send single reading com-
mand)
130 INPUT #1,RESDATA$ (Load data; footer code:CR)
140 PRINT ”READ DATA=”;RESDATA$ (Display reading data)
150 GOTO 120 (Repeat)
160 END