User Tools

Site Tools


crpl:docs:eq0

Differences

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

Link to this comparison view

Next revision
Previous revision
crpl:docs:eq0 [2013/01/14 19:00] – created virgilwcrpl:docs:eq0 [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]] 
 +=====  eq0  ===== 
 + 
 +^Arguments^Result^Notation^ 
 +|One Value|true or false (1 or 0) |''n1 -- i1 ''
 + 
 + 
 +=== Description === 
 +Top item is popped from the stack and Compared to 0. 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 
 +1 eq0 Trace 
 + 
 +#prints out 1 (True) to the tracelog 
 +7 8 sub 1 add eq0 Trace</code>  
crpl/docs/eq0.1358190051.txt.gz · Last modified: 2025/02/14 14:56 (external edit)