🐐 More compound operators

This commit is contained in:
2026-04-24 16:26:17 +02:00
parent 76bf509d48
commit ea72c91870
10 changed files with 45 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ Variable can consist of lower-case letters, numbers, as well as `_`.
### Compound assignment
`AVGE` (+=) and `MINVE` (-=) are shorthand for incrementing or decrementing a variable:
`AVGE` (+=), `MINVE` (-=), `MVLTIPLICA` (*=) and `DIVIDE` (/=) are shorthand for updating a variable with an arithmetic operation:
![Compound assignment](snippets/compound.png)
@@ -32,7 +32,7 @@ Variable can consist of lower-case letters, numbers, as well as `_`.
> VIII
```
`x AVGE III` is equivalent to `DESIGNA x VT x + III`.
`x AVGE III` is equivalent to `DESIGNA x VT x + III`; `MINVE`, `MVLTIPLICA` and `DIVIDE` expand the same way with subtraction, multiplication and division.
### Destructuring