EasyManua.ls Logo

Casio FX-795P - BEEP {(?]}; DEFM {Number of variables to be added}

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
Loading...
CHAPTER
7
Command
Reference
BEEP
[(?])
Function:
Generates
a
beep
sound.
Parameter:
0:
Low
sound
1:
High
sound
0
is
taken
by
defauit.
Explanation:
1)
Generates
a
high
or
low
beep
sound.
2)
Can
be
executed
both
manually
and
in
a
program.
Example:
1@
BEEP:
1INPUT“N=”,N
2@
FOR
B=1
TO.N
3@
BEEP
@:BEEP
1:PRINT:PRINT
Bs
4@
NEXT
B
5@
PRINT:GOTO
18
*Beep
sounds
are
generated
number
of
times
specified.
164
7-2
Program
Commands
D
E
F
M
[Number
of
variables
to
be
added]
®
Numeric
expression
Function:
Changes
from
DIM
mode
to
DEFM
mode.
Provides
variable
expansion.
Parameter:
Number
of
added
variables:
Numeric
expression.
Values
below
the
decimal
point
are
discarded.
Can
be
omitted.
0
<
Number
of
added
variables
<
1948
Explanation:
1)
Expands
the
number
of
variables.
The
arrays
defined
in
the
DIM
mode
will
be
cleared
at
this
time.
2)
Number
of
added
variables
can
be
specified
according
to
the
number
of
remaining
bytes.
3)
The
free
area
for
programs
and
DATA
BANK
decreases
eight
bytes
for
each
variable
expansion.
4)
Added
variables
are
used
as
array
variables.
5)
When
the
number
of
added
variables
is
omitted
after
DEFM,
the
number
of
currently
specified
variables
is
displayed.
6)
Can
be
executed
both
manually
and
in
a
program.
When
executed
manually,
the
newly
specified
status
(number
of
added
variables
+
26
basic
variables)
is
displayed.
When
executed
in
a
program,
the
newly
specified
status
is
not
displayed.
7)
An
error
(Error
1)
will
occur
if
an
attempt
is
made
to
expand
the
variables
beyond
the
number
of
remaining
bytes
in
the
free
area.
8)
Specification
of
expansion
will
be
retained
even
if
the
power
is
turned
off.
Execute
DEFM
0
to
cancel
the
variable
expansion
and
return
to
the
26
basic
variables.
165

Related product manuals