EasyManuals Logo

Casio FX-730P User Manual

Casio FX-730P
228 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 #127 background imageLoading...
Page #127 background image
6-2
Program
Commands
ON
Branch condition
GOTO
[Branched location] ®
Numeric expression [ , [.Branched
location)]*
B h d 1
. { Line No.
* ranc e ocat10n # N
program area o.
Function:
Branches
to
a specified location according
to
the branch condition.
Parameter:
Branch condition:
Line No.:
Program area No.:
Explanation:
Numeric expression. Values below the decimal
point
are discarded.
1
to
9999.
0
to
9.
I)
Branches according
to
the integer part
of
the value in a branch condition
expression. Branched locations are allocated sequentially according to
ON
A
GOTO
.lQQ,
200, 300,
........
·
A=
l
A=2
A=J
2) When the value
of
the expression
is
smaller than 1, or when an appropriate
branched location does
not
exist, the next statement
is
executed without
branching.
3)
As
many branched locations
that
can fit
on
one line can be written.
Example:
10
INPUT
''A=''
,A
20
ON
A
GOTO
100,200,300
30
PRINT ''OTHER''
40
GOTO
10
100
PRINT
''LINE
100"
:GOTO
10
200
PR
INT
"LINE
200
'' :
GOTO
10
300
PR
INT
"LINE
300
'' :
GOTO
10
*When 1
~
3
is
entered, branchings to 100
~
300 are performed respectively,
otherwise
"OTHER"
is
displayed.
117

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Casio FX-730P Specifications

General IconGeneral
BrandCasio
ModelFX-730P
CategoryDesktop
LanguageEnglish

Related product manuals