🐐 PER deconstructing

This commit is contained in:
2026-04-22 15:43:32 +02:00
parent 60fe691731
commit 5418dfa577
6 changed files with 118 additions and 19 deletions

View File

@@ -253,6 +253,19 @@ condition. Exit the loop with `ERVMPE` (or `REDI` from inside a function).
> V
```
Variables can be unpacked in `PER` loops, similar to `DESIGNA` destructuring:
```
PER a, b IN [[I, II], [III, IV]] FAC {
DIC(a + b)
}
```
```
> III
> VII
```
## Error handling
Errors can be caught using `TEMPTA` (temptare = to try) and `CAPE` (capere = to catch). The `CAPE` block binds the error message to a variable as a string.