170
CHAPTER
6
Command
Reference
READi:t=
Variable name [ , variable name] *
Function:
Reads memo data from the DATA BANK.
Parameter:
Variable name:
Explanation:
Numeric variable
or
character variable.
An array variable can also ibe used.
1) Sequentially reads stored data
to
a variable.
®
2) Only numeric type data can be read for a numeric variable.
If
character type
data are used, an error (Error
2) occurs.
3) After the necessary data are read
by
a
READ#
statement, the following data
are read
by
the
next
READ#
statement.
4) When memo data in the DATA BANK are
punctuated
by
",",they
are read
in the order in which they are written.
<Example>
DATA
No.
1
A,X
, Y
No
. 2
B,Z
No.3 C
•
Reading sequence
A-x-v-s-z-c
5) When datil
to
be read does
not
exist, an error (Error 4) occurs.
6) The data sequence
to
be read can be modified by
RESTORE#
(see page 172).