User Tools

Site Tools


prpl:gt

<- PRPL reference <- Comparators

gt

ArgumentsResultNotation
number number bool [ number number - bool ]

Description

Top two items are popped from the stack and 'Greater Than' comparison is performed. 0 or 1 is pushed back to the stack where 1 indicates true.

Examples

42 PI gt if
    "42 > PI" Trace
endif
 
#Wrap notation
if (42 gt (1)) 
	trace("42 is greater than 1") 
endif
prpl/gt.txt · Last modified: 2017/10/06 21:49 by cpaca