Casio FX-9750G PLUS User's Manual & Technical Reference page 408

Hide thumbs Also See for FX-9750G PLUS:
Table of Contents

Advertisement

20- 11
Command Reference
Example: For 2 → I To 10_
k k k k k Jump Commands (JUMP)
Function: This command is a count jump that decrements 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 decrements 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 (_).
Example: 10 → A : 0 → C :
Function: This command performs an unconditional jump to a specified location.
Syntax: Goto <value or variable> ~ Lbl <value or variable>
Parameters: Value (from 0 to 9), variable (A to Z,
Description:
1. This command consists of two parts: Goto
380
If I = 5_
Then "STOP" : Stop_
IfEnd_
Next
This program counts from 2 to 10. When the count reaches 5, however,
it terminates execution and displays the message "STOP."
Dsz
Variable Value
Dsz <variable name> : <statement>
Variable Value = 0
[Example] Dsz B : Decrements the value assigned to variable B by 1.
Lbl 1 : ? → B : B+C → C :
Dsz A : Goto 1 : C ÷ 10
This program prompts for input of 10 values, and then calculates the
average of the input values.
Goto~Lbl
n
n
and Lbl
(where
is the value specified for Goto). This command causes
program execution to jump to the Lbl-statement whose value matches that
specified by the Goto-statement.
0
G G G G G
, θ
r
_
:
<statement>
^
, θ )
r
n
n
(where
is a value from 0 to 9)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents