8-5-9

Command Reference

kJump 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:

 

 

 

 

Variable Value 0

 

 

_

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Dsz

<variable name> : <statement>

: <statement>

 

 

 

 

 

 

 

 

 

^

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Variable Value = 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

20050401