User Tools

Site Tools


ixe:irpl:comparators:gt

gt

5 gt (4)

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 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

# Warp notation
if (42 gt (1))
    trace("42 is greater than 1")
endif
ixe/irpl/comparators/gt.txt · Last modified: 2025/01/07 15:41 by 127.0.0.1