User Tools

Site Tools


crpl:docs:neq

<- CRPL reference <- Comparators

neq

ArgumentsResultNotation
Two Valuestrue or false (1 or 0) n1 n2 – b1

Description

Top two items are popped from the stack and 'Not Equal' comparison is performed. 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
7 7 neq Trace

#Prints out 1 (True) to the tracelog
1 2 neq Trace
crpl/docs/neq.txt · Last modified: 2021/02/05 11:43 by Karsten75