Programming Guide

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 name> : <statement> : <statement>
^
Variable Value = 0