This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:neq0 [2021/03/27 20:43] – typo fix cornucanis | 4rpl:commands:neq0 [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
+ | < | ||
+ | |||
====== neq0 ====== | ====== neq0 ====== | ||
Line 7: | Line 10: | ||
===== Description ===== | ===== Description ===== | ||
first item on the stack is compared to zero. If zero, true (1) is pushed on the stack, otherwise false (0) is pushed back to the stack. | first item on the stack is compared to zero. If zero, true (1) is pushed on the stack, otherwise false (0) is pushed back to the stack. | ||
+ | |||
+ | |||
+ | Note: See [[4rpl:Data Types]] for comparison between dissimilar types and type conversion. | ||
+ | |||
===== Examples ===== | ===== Examples ===== |