User Tools

Site Tools


4rpl:commands:lt

Index
Comparators

lt

LT

Description

First item on the stack is compared to the second item on the stack.
0 (fasle) or 1 (true) is pushed to the stack depending on whether the first value was less than the second or not.

Note: See Data Types for comparison between dissimilar types and type conversion.

Examples

if (1 lt (42))
    trace("1 is less than 42")
endif

Index

4rpl/commands/lt.txt · Last modified: 2021/03/28 11:38 by Karsten75