
PROGRAMMING
B–64124EN/01
15. CUSTOM MACRO
307
(c) Conditional expressions
< vacant > differs from 0 only for EQ and NE.
When #1 = < vacant > When #1 = 0
#1 EQ #0
#
Established
#1 EQ #0
#
Not established
#1 NE 0
#
Established
#1 NE 0
#
Not established
#1 GE #0
#
Established
#1 GE #0
#
Established
#1 GT 0
#
Not established
#1 GT 0
#
Not established
VARIABLE O1234 N12345
NO. DATA NO. DATA
100 123.456 108
101 0.000 109
102 110
103 111
104 112
105 113
106 114
107 115
ACTUAL POSITION (RELATIVE)
X 0.000 Y 0.000
Z 0.000 B 0.000
MEM **** *** *** 18:42:15
[ MACRO ] [ MENU ] [ OPR ] [ ] [ (OPRT) ]
D When the value of a variable is blank, the variable is null.
D The mark ******** indicates an overflow (when the absolute
value of a variable is greater than 99999999) or an underflow (when
the absolute value of a variable is less than 0.0000001).
Program numbers, sequence numbers, and optional block skip numbers
cannot be referenced using variables.
Example:
Variables cannot be used in the following ways:
O#1;
/#2G00X100.0;
N#3Y200.0;
Limitations