User Tools

Site Tools


4rpl:commands:gte

Index
Comparators

gte

5 gte (5)

Description

The first item on the stack is compared to the second item on the stack. Both items are removed from the stack. If the first item is greater than or equal to the second, True (1) is pushed to the stack. If not, False (o) is pushed to the stack.

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

Examples

if (2 gte (2))
    trace("2 is greater than or equal to 2")
endif

Index

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