<- CRPL reference <- Comparators
Arguments | Result | Notation |
---|---|---|
Two Values | true or false (1 or 0) | n1 n2 – b1 |
Top two items are popped from the stack and 'Less Than' comparison is performed. 0 or 1 is pushed back to the stack where 1 indicates true.
See programming note for comparing unlike types
# Compares numbers to 50. # Pointless, in programming, but here to illustrate a point. 100 50 lt # False, 100 is not less than 50 45 50 lt # True, 45 is less than 50 50 50 lt # False, 50 is not less than 50
A B lt If A is less than B, TRUE Otherwise FALSE