Casio fx-9750G Manual page 34

19. programming
Hide thumbs Also See for fx-9750G:
Table of Contents

Advertisement

19 - 11
Command Reference
3. This command can be used in combination with conditional jumps and count
4. If there is no Lbl-statement whose value matches that specified by the Goto-
Example: ?
This program calculates
want to input. To quit execution of this program, press A.
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,
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 (_).
Function: This code is used to set up conditions for a conditional jump. The jump is
executed whenever the conditions are false.
Syntax:
Parameters:
left side/right side: variable (A to Z,
as: A
P.352
relational operator: =,
jumps.
statement, an error (Go ERROR) occurs.
A : ?
?
X : A
Goto 1
Isz
Variable Value
Isz <variable name> : <statement>
Variable Value = 0
[Example] Isz A : Increments the value assigned to variable A by 1.
(Jump Code)
<left side> <relational operator> <right side>
2)
G G G G G
B : Lbl 1 :
X + B ^
y
= AX + B for as many values for each variable that you
G G G G G
0
r
,
True
False
r
, ), numeric constant, variable expression (such
, >, <, ,
_
:
<statement>
^
_
<statement>
^
:
<statement>
346

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents