User Tools

Site Tools


crpl:docs:eq0

<- CRPL reference <- Comparators

eq0

ArgumentsResultNotation
One Valuetrue or false (1 or 0) n1 – i1

Description

Top item is popped from the stack and Compared to 0. 0 or 1 is pushed back to the stack where 0 indicates false and 1 indicates true.

See programming note for comparing unlike types.

Examples

#prints out 0 (False) to the tracelog
1 eq0 Trace

#prints out 1 (True) to the tracelog
7 8 sub 1 add eq0 Trace
crpl/docs/eq0.txt · Last modified: 2016/10/09 20:43 by GoodMorning