User Tools

Site Tools


crpl:docs:neq0

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
crpl:docs:neq0 [2013/01/14 14:10] – external edit 127.0.0.1crpl:docs:neq0 [2014/10/01 15:02] – external edit 127.0.0.1
Line 1: Line 1:
 +~~DISCUSSION~~ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#comparators|Comparators]]
 =====  neq0  ===== =====  neq0  =====
  
Line 8: Line 9:
 === Description === === Description ===
 Top item is popped from the stack and Compared to not being 0.  Top item is popped from the stack and Compared to not being 0. 
-0 or 1 is pushed back to the stack where 1 indicates true.+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 === === Examples ===
-<code>example goes here</code> +<code>#prints out 0 (False) to the tracelog 
 +0 neq0 Trace
  
 +#prints out 1 (True) to the tracelog
 +7 neq0 Trace</code> 
  
crpl/docs/neq0.txt · Last modified: 2021/02/05 11:43 by Karsten75