This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 4rpl:commands:gt0 [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:gt0 [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | < | + | < |
| + | < | ||
| + | |||
| ====== gt0 ====== | ====== gt0 ====== | ||
| Line 7: | Line 10: | ||
| ===== Description ===== | ===== Description ===== | ||
| Top item is popped from the stack and compared if greater than 0. 0 (false) or 1 (true) is pushed back to the stack. | Top item is popped from the stack and compared if greater than 0. 0 (false) or 1 (true) is pushed back to the stack. | ||
| + | |||
| + | |||
| + | Note: See [[4rpl:Data Types]] for comparison between dissimilar types and type conversion. | ||
| + | |||
| ===== Examples ===== | ===== Examples ===== | ||