Variables - Casio FX-730P Owner's Manual

Table of Contents

Advertisement

4-3 Variables
Twenty-six variables named A to Z are provided as a standard feature of the
computer and calculation results and numeric values can be stored in these
variables. These variables
have already been used
for
manual
calculations,
and
they will serve as
"memories"
when
the
computer is used
as
a calculator.
Capital alphabetical letters A to Z are used for variable names and these
will
be
called simple variables. Subscripts in parentheses such as A(3) and
X(
4, 5)
can
also be added to the
variable
name.
Variables in
this form are called array
variables
and
are
used
when
handling large volumes of data.
All
of the
variables
mentioned
up
to
this
point are
for
numeric values and are
called
numeric variables.
Variables
to
which
character strings are
assigned
are
called character
variables.
Character variables are indicated by adding a dollar
sign
($)
after the variable name such as
A$. Character
variables
can
also be used
as array variables
such as C$(12).
In
addition
to
these
variables
,
the computer is
provided
with
the exclusive character
variable $.
In other words, the computer
is provided
with
the
following variables.
Simple variable
Array
variable
Numeric variable
A, B, C···,
z
A(O), X
( 2,
2)
·
· ·
·
·
· · · ·
·
·
·
·
·
·
etc.
Character
variable
A$, B $,
..
.
z
$' $
A$(0), X $ ( 2, 2)
·
·
· ·
·
·
·
·
· ·
etc.
The
numeric
variable will store
numeric values of
up to 12
digits (I
2
digits for
a mantissa
and
2 digits for an
exponent)
and the
character
variable will store
character
string of up to 7
characters.
The
exclusive
character
variable $
will
store
character
string
of up to 62 characters.
<
Two Array Declarations>
This computer
is
capable of array
variable
declarations
by
DIM statements and
array declarations by DEFM
statements.
By using a DIM statement, it is possible
to use array variables
of
up to three dimensions. The DEFM
statement
is used
when
desiring to expand the number
of
variables but it
can also
be used to
declare
array variables.
A maximum of up
to eight array variables
can be used
simultaneously with a DIM
statement.
57

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents