AMT Datasouth PAL User Manual
Page 136

lt
130
lt
Description
Determine whether the first object is less than the second object.
Usage
Any1Num Any2Num
lt
Bool
Any1Text Any2Text
lt
Bool
Any1Num
Integer or fixed-point. First numeric object to compare.
Any2Num
Integer or fixed-point. Second numeric object to compare.
Any1Text
String or name. First text object to compare.
Any2Text
String or name. Second text object to compare.
Bool
Boolean. A value of true indicates the first object does not meet or exceed the
second object. A value of false indicates the second object meets or exceeds the
first object.
Comments
In the first variant, the operator determines whether or not the first numeric parameter is less than
the second numeric parameter. The operator will accept integer and fixed-point objects for either
parameter.
In the second variant, the operator determines whether or not the first text parameter is less than
the second text parameter. The operator will accept string or name objects for either parameter.
PAL compares strings and names using the standard ASCII character sorting sequence including
case sensitivity. Therefore, the string (Abc) is less than the string (abc).