| a β expression | Stores the value of the expression in a. Only the most recent assignment sticks. |
| DISPLAY(x) | Shows x, followed by a space. |
| a MOD b | The remainder after dividing a by b. |
| = β < > β€ β₯ | Relational operators. Each gives true or false. |
| AND, OR, NOT | AND is true when both sides are true. OR is true when at least one side is true. NOT flips true and false. |
| IF (condition) {...} ELSE {...} | Runs the first block when the condition is true, otherwise the ELSE block. Never both. |
| REPEAT n TIMES {...} | Runs the block exactly n times. |
| REPEAT UNTIL (condition) {...} | Checks the condition before each pass and stops as soon as it is true. |
| FOR EACH item IN list {...} | Runs the block once for every item in the list, in order. |
| list[i], LENGTH(list) | The item at index i, and the number of items. The first item is at index 1. |
| APPEND, INSERT, REMOVE | APPEND(list, v) adds to the end. INSERT(list, i, v) adds at index i and shifts later items over. REMOVE(list, i) removes the item at index i. |