IAI America XSEL-KE User Manual
Page 215

200
Part 4 Commands
z SCMP (Compare character 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
SCMP
Column
number
Column
number,
character literal
EQ
[Function] Compare the column specified in operand 1 with the column specified in operand 2.
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.
>([DPSOH@
6&03
µ$%&¶
)ODJZLOOWXUQ21LIFROXPQVWRFRQWDLQµ$%&¶
SLEN
5
Set the comparing length to five bytes.
6&03
7XUQ21IODJLIILYHE\WHVIURPFROXPQVDQG
match.