<- CRPL reference <- Comparators

neq0

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

Description

Top item is popped from the stack and Compared to not being 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
0 neq0 Trace

#prints out 1 (True) to the tracelog
7 neq0 Trace