User Tools

Site Tools


crpl:docs:neq0

<- 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.txt · Last modified: 2021/02/05 11:43 by Karsten75