Casio fx9860G Calculator User Manual


 
20070201
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:
Variable Value
0
Isz <variable name> : <statement>
_
:
^
<statement>
Variable Value = 0
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:
Tr ue
<left side> <relational operator> <right side> <statement>
_
:
^
<statement>
False
Parameters:
left side/right side: variable (A to Z,
r ,
θ
), numeric constant, variable expression
(such as: A × 2)
relational operator: =, , >, <, , (page 8-5-18)
Description:
• The conditional jump compares the contents of two variables or the results of two
expressions, and a decision is made whether or not to execute the jump based on the
results of the comparison.
• If the comparison returns a true result, execution continues with the statement following
the command. If the comparison returns a false result, execution jumps to the
statements following the multi-statement command (:), display command (^ ), or carriage
return (_ ).
8-5-11
Command Reference