IAI America XSEL-KE User Manual
Page 194
![background image](/manuals/350328/194/background.png)
179
Part 4 Commands
z ISXX (Compare strings)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional ISXX
Column
number
Column
number,
character
literal
CP
[Function] Compare the character strings in the columns specified in operands 1 and 2, and proceed to
the next step if the condition is satisfied.
If the condition is not satisfied, the program will proceed to the step next to the corresponding
ELSE command, if any, or to the step next to the corresponding EDIF command.
Comparison will be performed for the length set by a SLEN command.
If a character literal is specified in operand 2, comparison will be performed for the entire
length of the literal.
If the input condition is not satisfied and the ISXX command is not executed, the program will
proceed to the step next to the EDIF.
A maximum of 15 nests are supported when IFXX and DWXX are combined.
ISXX
EQ
Operand 1 = Operand 2
NE
Operand 1 z Operand 2
>([DPSOH@
6&3<
µ*2)'¶0RYH
forward)
6&3<
µ*2%.¶0RYH
backward)
LET
1
5
LET
2
14
SLEN
4
Set the number of comparing characters to 4.
,6(4
µ$;6¶$[LV 6HOHFWDQD[LV
,6(4
6HOHFWDPRYLQJGLUHFWLRQ
-):1
0RYHD[LVIRUZDUG
ELSE
-%:1
0RYHD[LVEDFNZDUG
EDIF
ELSE
,61(
6HOHFWDPRYLQJGLUHFWLRQ
-):1
0RYHD[LVEDFNZDUG
ELSE
-%:1
0RYHD[LVIRUZDUG
EDIF
EDIF
Jog by selecting axis 1/axis 2 by columns 1 to 4 and forward/backward by
columns 5 to 8.
Nothing will happen if flag 600 is OFF, in which case the program will proceed to
the step next to the last EDIF.
If columns 1 to 8 contain the following
GDWDD[LVZLOOEHPRYHGIRUZDUG
1 2 3 4 5 6 7 8
$ ;6 *2 )'
1RWH
8VLQJD*272FRPPDQGWREUDQFKRXWRIor into an ISXX-EDIF syntax is prohibited.