Isz (Count Jump) - Casio FX-CG20 AU User Manual

Hide thumbs Also See for FX-CG20 AU:
Table of Contents

Advertisement

Isz (Count Jump)

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:
Isz <variable name> : <statement>
Parameters: variable name: A to Z,
[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 (:), output 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:
<left side> <relational operator> <right side> ⇒ <statement>
Parameters:
• left side/right side: variable (A to Z,
A × 2)
• relational operator: =, ≠, >, <, ≥, ≤ (page 8-24)
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 (:), output command ( ^), or carriage return ( _).
Variable Value ≠ 0
Variable Value = 0
, θ
r
True
False
, θ ), numeric constant, variable expression (such as:
r
8-18
_
:
<statement>
^
_
:
^
<statement>

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-cg10

Table of Contents