EasyManuals Logo
Home>Casio>Desktop>FX-795P

Casio FX-795P User Manual

Casio FX-795P
133 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #90 background imageLoading...
Page #90 background image
166
CHAPTER
7
Command
Reference
;
Example:
DEFM
10@
([4--
2:26
DEFMEIA
DEEM
&
Aer
ei
EFM
LS
1@
DEFM
10:CLEAR
29
FOR
J=1.
TO 18
3@
PRINT®Z("3J3*)="3
4@
INPUT
Z(J)
5@
NEXT
J
6@
FOR
J=1
TO
10
7@
S=StZ(J5)
8@
NEXT
J
9@
BEEP:PRINT*
Sum="3S
10@
DEFM
@
11@
END
*
Obtains
total
of
the
10
numeric
values
input.
7-2:
Program
Commands
DIM
[Array
name]
[,
Array
name]
*
®
Function:
Declares
an
array.
Parameter:
One-dimensional
to
three-dimensional
arrays
can
be
specified.
1)
Array
name
(i)
when
one-dimensional
2)
Array
name
(i,
j)
when
two-dimensional
3)
Array
name
(i,
j,
k)
when
three-dimensional
4)
Changes
from
DEFM
mode
to
DIM
mode
if
the
array
name
is
defaulted.
Array
names
i,
j,
k
may
be
specified
by
the
numeric
expression
0
<
i,j,k
$255,
Discards
decimal
values,
Upper
case
alphabetical
letters'may
be
used
for
the
array
name.
Explanation:
1)
Declares
array
variable
names.
2)
Character
arrays
can
be
declared
by
attaching
a
$
sign
immediately
after
the
array
variable
name.
The
storable
character
length
of
a
character
array
is
a
maximum
of
seven
characters.
If
an
attempt
is
made
to
assign
a
character
string
with
more
than
seven
characters,
all
beyond:seven'
characters
will
be
disregarded.
3)
The
same
array
name
can
be
used
for
a
numeric
array
name
and
a
character
array
name.
4)
Up
to
eight
arrays
can
be
declared.
Error
1
will
occur
if
nine
or
more
are
declared,
5)
Exror
5
will
occur
if
arrays
are
declared
with
the
same
array
variable
name
and
the
different
size
(i,
j,
k)
of
the
subscript.
When
array
variables
of
the
same
size
are
declared,
contents
of
all
array
variables
will
become
0
or
null.
167

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio FX-795P and is the answer not in the manual?

Casio FX-795P Specifications

General IconGeneral
BrandCasio
ModelFX-795P
CategoryDesktop
LanguageEnglish

Related product manuals