This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:gte [2013/01/18 06:04] – grauniad | crpl:docs:gte [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~DISCUSSION~~ | ||
| <- [[crpl: | <- [[crpl: | ||
| ===== gte ===== | ===== gte ===== | ||
| Line 10: | Line 9: | ||
| Top two items are popped from the stack and ' | Top two items are popped from the stack and ' | ||
| 0 or 1 is pushed back to the stack where 1 indicates true. | 0 or 1 is pushed back to the stack where 1 indicates true. | ||
| + | |||
| + | See [[crpl: | ||
| + | |||
| === Examples === | === Examples === | ||
| - | < | + | < |
| # Compares numbers to 50. | # Compares numbers to 50. | ||
| # Pointless, in programming, | # Pointless, in programming, | ||
| Line 19: | Line 21: | ||
| </ | </ | ||
| + | <code prpl> | ||
| + | A B lt | ||
| + | If A is bigger than B, TRUE | ||
| + | If A is the same as B, TRUE | ||
| + | Otherwise FALSE | ||
| + | </ | ||