LT or < operator

Returns a TRUE value if the first of two expressions is less than the second.

Syntax

expression { LT | < } expression
expression
A constant, field or variable name, or expression. The expressions on either side of the LT or < = must be the same data type, although one can be an integer and the other decimal.

Example

This procedure displays information for those Item records whose OnHand value is less than the Allocated value:

r-lt.p

FOR EACH Item NO-LOCK WHERE Item.OnHand < Item.Allocated:
  DISPLAY Item.ItemNum Item.ItemName Item.OnHand Item.Allocated.
END.

Notes