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 #65 background imageLoading...
Page #65 background image
CHAPTER
5
Programming
with
BASIC
Language
©
Modified
Commands
This
computer
PB-100
series
NEW
(NEW
ALL)
CLEAR
(CLEAR
A)
CLEAR
VAC
IF
~
THEN
IF
~3
SAVE
ALL
SAVE
A
LOAD
ALL
LOAD
A
VERIFY
VER
DEFM
(Can
be
written
in
a
program.)
DEFM
(Can
only
be
performed
manually.)
®
Modified
Functions
This
computer
PB-100
series
KEY$
KEY
MID$
MID
In
spite
of
these
different
points,
a
program
prepared
by
the
PB-100
series
can
be
fundamentally
utilized
with
this
computer.
However,
it
is
better
that
programs
be
rewritten
for
this
computer
so
that
it
can
be
easily
used
or
can
be
easily
reconsidered
later.
,
Example:
PB-100
program
1@
VAC
20
FOR
A=1
TO
20
3@
INPUT
Z(A)
40
IF
Z(A)>80;B=B+1:GOTO
99
50
iF
Z(A)<603C=C+1:GOTO
90
60
IF
Z(A)>4@3D=D+1:GOTO
90
70
IF
Z(A)>2@3E=E+1:GOTO
90
80
F=F+1
90
NEXT
A
116
5-8.
Using
a
PB-100
Program
ett
ttt
tet
This
example
is
part
of
a
program
to
enter
data
and
distribute
them
according
to
their
size.
Although
the
program
could
be
used
as
it
is,
correct
the
following
items.
Change
“VAC”
on
line
10
to
“CLEAR”.
10
CLEAR
Change
“;”
on
lines
40
to
70
to
“THEN”.
40
IF
Z(A)>8@
THEN
B=B+1:GOTO
90
Since
variable
expansion
is
necessary
in
this
program,
write
the
DEFM
com-
mand,
manually
executed
in
the
PB-100/PB-300/FX-700P/FX-802P,
at
the
beginning.
5
DEFM
20
Example:
PB-100
program
1@
INPUT
“1=1/0=2/P=3”
,N
20
|F
N<1
THEN
108
30
IF
N>3
THEN
10
408
GOTO
N*1@0
This
program
is
used
to
determine
branch
destination
according
to
the
work.
To
adapt
it
for
this
computer,
modify
it
as
follows
by
using
an:ON
~
GOTO
statement.
10
INPUT
“1=1/0=2/P=3"
,N
20
ON
N
GOTO
100,200,300
3@
GOTO
198
117

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