EasyManua.ls Logo

Casio FX-795P - READ# Variable name [, variable name]*

Casio FX-795P
133 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER
7
Command
Reference
a
RE
AD
+
Variable
name
[,
variable
name]*
®
NN
Function:
Reads
memo
data
from
the
DATA
BANK.
Parameter:
Variable
name:
Numeric
variable
or
character
variable.
An
array
variable
can
also
be
used.
Explanation:
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
RBAD#
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
$s
Reading
sequence
A?X?Y?B?-Z-C
5)
When
data
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
170).
204
7-7
DATA
BANK
Commands
7)
When
a
space
exists
at
the
beginning
of
memo
data
in
the
DATA
BANK,
it
is
skipped.
<Example>
XYZ
7
L
this
space
skipped.
8)
When
data
is
inside
”,
the
character
string
inside
is
read.
Example:
<
Data
>
<
Program
>
No.1
1,2,3
10
A=
No.2
4,5,6
20
READHS
No3
7,8,9
30
IF
.$=*”
THEN
60
No.4
10,
4@
A=A+VAL($)
50
GOTO
20
6@
PRINT
*2%="3A
78
END
*
Reads
numeric
data
from
the
DATA
BANK
to
obtain
a
sum.
205

Related product manuals