User Tools

Site Tools


crpl:docs:neq0

This is an old revision of the document!


~~DISCUSSION~~ <- 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
crpl/docs/neq0.1404858080.txt.gz · Last modified: 2014/10/01 15:02 (external edit)