ENTER
~Y~
TO
READ
NEXT
RECORD
++
RECORD
*5
++
NAME:
ADDR:
HENRY
MUSCATEL
819
OAK
ST.
NAPA
CA
95303
ENTER
~Y~
TO
RE
AD
NEXT
RECORD
++
RECORD
# 6
++
NAME:
AIIDR:
WIDOET
SUPPL
Y
CO.
555
BOOUS
OERTIE
TENNESSEE
38901
ENTER
/Y~
TO
READ
NEXT
RECORD
++
END
OF
MAIL
FILE--PROORAM
TERMINATED
+.
Reading Numbers
with
GET#
Another
method of reading data files uses the
GET#
commando
GET#f.var
where:
is
the lagical file
number
(1-255. matching the file
number
in the
OPEN
and
CLOSE
cammandsl
var
is
the variable
na
me of the data ta
be
read.
GET * reads one character
at
a
time
from the data file and transfers
it
through the input butter to memory. It
is
similar ta
GET.
which
accepts one
character at a
time
from the keyboard and transfers it ta the screen.
S
Data File
~
~
Memary
Input
r--
Buffer
r--
266