Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 153
Chapter 2 Program Instructions
LINE INPUT#
Field of Application
Statement for assigning an entire line, including punctuation marks,
from a sequential le or a device to a single string variable.
Syntax LINE´INPUT#<nexp>,<svar>
<nexp> is the number assigned to the le when it was OPENed.
<svar> is the string variable to which the input line is assigned.
Remarks
This statement differs from the INPUT# statement in that an entire
line of max. 32,767 characters will be read, and possible commas in
the line will be included in the string as punctuation marks instead of
dividing it into portions.
When reading from a sequential le, the lines can be read one after
the other by the repeated issuing of LINE INPUT# statements, using
the same le reference.
Once a line has been read, it cannot be read again until the le is CLOSEd
and then OPENed again.
The LINE INPUT# statement is useful when the lines in a le has
been broken into elds.
Note that LINE INPUT# filters out any incoming ASCII 00 dec.
characters (NUL).
Example
This example assigns data from the three rst lines of the le "Addresses" to
the string variables A$, B$, and C$ respectively:
. . . . .
. . . . .
100 OPEN "ADDRESSES" FOR INPUT AS #5
110 LINE INPUT# 5, A$
120 LINE INPUT# 5, B$
130 LINE INPUT# 5, C$
. . . . .
. . . . .