Casio FX-795P Owner's Manual page 56

Hide thumbs Also See for FX-795P:
Table of Contents

Advertisement

as follows.
Example:
1@
DEFM
20°
---20 variables are expanded.
FOR
J=@
TO
2
30 Z( JS )=d
Numeric values are assigned to the array
variables.
4@
NEXT.
J
om
ory
DEAM
ed
AesZi26
DEFM? 2
Notes:
1. If the variables ar
power is turned 0
*The variables will return to the standard 26 if
NEW ALL fe} is operated in
fee Zi 26 DEEMED
BOHMer
98
5-3
Variables
< Precautions in Using Variables >
1) If the names of the numeric variable and character variable are the same, the
same.memory space will be used. For this reason, it will therefore not be
possible to use a numeric variable A and a character variable A$ at the same
time. If the following program is executed, an error (Error 6) will occur on
line 20 . (See page 68 for details.)
20
PRINT
A...
Displays the content of numeric variable A.
38
END
* Excluding array variables in the DIM mode.
A=A\(0)
B= A(1)= B(0)
C=A(2)= B(1)= C(0)
D=A(3)
)
Y= A= B= CH=
Z=AQ)= BM =Ch3=
Simple variables
Array variables
For example, if we execute the following program, the content of variable C
will be 10.
1@
DEFM
20
C=e@
30
A(2)=10
4@
PRINT
C
5@
END
99

Advertisement

Table of Contents
loading

Table of Contents