July 2013 9.10 Commands for String Processing 1825
9.10.5 EQUAL TO Command for String Processing (==)
Syntax: == (EQUAL)
Operands: S <arg>
Action:
This command sets off a direct transition from string to logical processing.
Compare the content of the string accumulator with the string in the
argument. If the string accumulator and the operand are equal, the condition
is true and the iTNC sets the logic accumulator to 1. If they are not equal, the
iTNC sets the logic accumulator is set to 0.
Example:
See command <>.
9.10.6 LESS THAN Command for String Processing (<)
Syntax: < (LESS THAN)
Operands: S <arg>
Action:
This command sets off a direct transition from string to logical processing.
Compare the content of the string accumulator with the string in the
argument. If the string accumulator is less than the operand, the condition is
true and the iTNC sets the logic accumulator to 1. If the string accumulator is
greater than or equal to the operand, it sets the logic accumulator to 0.
Example:
See command <>.
9.10.7 GREATER THAN Command for String Processing (>)
Syntax: > (GREATER THAN)
Operands: S <arg>
Action:
This command sets off a direct transition from string to logical processing.
Compare the content of the string accumulator with the string in the
argument. If the string accumulator is greater than the operand, the condition
is true and the iTNC sets the logic accumulator to 1. If the string accumulator
is less than or equal to the operand, it sets the logic accumulator to 0.
Example:
See command <>.