User Tools

Site Tools


crpl:docs:neq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:neq [2013/01/14 19:00] – created virgilwcrpl:docs:neq [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-TODO+ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#comparators|Comparators]] 
 +=====  neq  ===== 
 + 
 +^Arguments^Result^Notation^ 
 +|Two Values|true 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 [[crpl:docs:eq#comparing_unlike_types|programming note]] for comparing unlike types 
 + 
 +=== Examples === 
 + 
 +<code>#Prints out 0 (False) to the tracelog 
 +7 7 neq Trace 
 + 
 +#Prints out 1 (True) to the tracelog 
 +1 2 neq Trace 
 +</code>  
crpl/docs/neq.1358190043.txt.gz · Last modified: 2025/02/14 14:56 (external edit)