Less than

From WikiManual
Revision as of 14:34, 23 December 2005 by Ollj (talk | contribs) (Logical Comparison Operators)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Takes the two top values on the stack, and checks whether the first value is less than the second.

Examples:

10 5 < Is false

10 25 < Is true

10 10 < Is false, as 10 is equal to 10, not less.

Logical Comparison Operators:

> <
>= <=
= !=
%= !%=
~= !~=