This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:neq0 [2013/01/18 06:06] – grauniad | crpl:docs:neq0 [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== neq0 ===== | ===== neq0 ===== | ||
Line 9: | 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: | ||
=== Examples === | === Examples === | ||
- | < | + | < |
+ | 0 neq0 Trace | ||
+ | |||
+ | #prints out 1 (True) to the tracelog | ||
+ | 7 neq0 Trace</ | ||