395
Command Reference
21- 11
2. This command can be used to loop back to the beginning of a program or to
jump to any location within the program.
3. This command can be used in combination with conditional jumps and count
jumps.
4. If there is no Lbl-statement whose value matches that specified by the Goto-
statement, an error occurs.
Example:
?
$
A : ?
$
B : Lbl 1 :
?
$
X : A
"
X + B
^
Goto 1
This program calculates
y
= AX + B for as many values for each
variable that you want to input. To quit execution of this program, press
A
.
Isz
Function:
This command is a count jump that increments the value of a control
variable by 1, and then jumps if the current value of the variable is zero.
Syntax:
Parameters:
Variable Name: A to Z,
r
,
!
[Example] Isz A : Increments the value assigned to variable A by 1.
Description:
This command increments the value of a control variable by 1, and then tests
(checks) it. If the current value is non-zero, execution continues with the next
statement. If the current value is zero, execution jumps to the statement following
the multi-statement command (:), display command (
^
), or carriage return (
_
).
%
(Jump Code)
Function:
This code is used to set up conditions for a conditional jump. The jump
is executed whenever the conditions are false.
Syntax:
True
_
<left side> <relational operator> <right side>
%
<statement>
:
<statement>
^
False
Variable Value
G
G
G
G
G
0
_
Isz <variable name> : <statement>
:
<statement>
^
Variable Value = 0
Summary of Contents for CFX-9970G
Page 22: ... CFX 9970G ...
Page 452: ...435 1 2 3 4 5 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 453: ...436 Program for Circle and Tangents No 4 Step Key Operation Display 6 7 8 9 10 ...
Page 454: ...437 11 12 13 14 15 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 455: ...438 16 17 18 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 458: ...441 1 2 3 4 5 Program for Rotating a Figure No 5 Step Key Operation Display ...