User Tools

Site Tools


4rpl:commands:gt0

Index
Comparators

gt0

gt0

Description

Top item is popped from the stack and compared if greater than 0. 0 (false) or 1 (true) is pushed back to the stack.

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

Examples

if (1 gt0)
    trace("1 is greater than 0")
endif

Index

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