Owner's manual
Paramacros
Chapter 28
28-8
Program a condition between the [ and ] brackets in this format:
[A EQ B]
where A and B represent some numerical value. The values for A and B
can be in the form of some mathematical equation or in the form of a
paramacro parameter.
Example 28.6
Evaluation of Conditional Expressions
Expression Evaluation
[6.03 EQ 6.0301] FALSE
[6.03 NE 6.0301] TRUE
[2.5 GT 2.5] FALSE
[2.5 LT 2.51] TRUE
[2.51 GE 2.5] TRUE
[2.5 LE 2.5] TRUE
[[2.5-3] LE 1] TRUE
[#1 GT #2] This dependson the value ofthe parameters#1 and#2
For details on the use of conditional expressions, refer to page 28-9 on
“IF”statements and page 28-10 on “WHILE”statements. For details on
the use of paramacro parameters, refer to page 28-12.
Unconditional GOTO
Any time the c ontrol executes a GOTO block, the unconditional GOTO
command automatically transfers control.
Use this format for the GOTO command:
GOTO n;
Where : Is:
n
Executionis transferred to the blockwith the sequence numberspecifiedas n
anytime thattheGOTOblock is executed.
28.3.2
GOTO and IF-GOTO
Commands