beautypg.com

K jump commands (jump) – Casio fx-9860G SD User Manual

Page 409

background image

20050401

8-5-9

Command Reference

k Jump Commands (JUMP)

Dsz

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,

r

,

θ

[Example] Dsz B : Decrements the value assigned to variable B by 1.

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 (_).

Variable Value

≠ 0

_

Dsz :

:

^

Variable Value = 0