This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:neq0 [2013/01/14 19:00] – created virgilw | crpl:docs:neq0 [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | |
+ | <- [[crpl: | ||
+ | ===== neq0 ===== | ||
+ | |||
+ | ^Arguments^Result^Notation^ | ||
+ | |One Value|true or false (1 or 0) |'' | ||
+ | |||
+ | |||
+ | === Description === | ||
+ | Top item is popped from the stack and Compared to not being 0. | ||
+ | 0 or 1 is pushed back to the stack where 0 indicates false and 1 indicates true. | ||
+ | |||
+ | See [[crpl: | ||
+ | |||
+ | === Examples === | ||
+ | < | ||
+ | 0 neq0 Trace | ||
+ | |||
+ | #prints out 1 (True) to the tracelog | ||
+ | 7 neq0 Trace</ |