🐐 Array slicing

This commit is contained in:
2026-04-21 22:53:40 +02:00
parent 559b1b100e
commit 378c28102c
13 changed files with 423 additions and 2 deletions

View File

@@ -121,6 +121,14 @@ Individual elements can be accessed by index using square brackets. Indexing is
> I
```
A sub-array can be extracted with `VSQVE` inside the index brackets. Both bounds are inclusive and 1-based:
![Array slicing](snippets/array_slice.png)
```
> [XX, XXX, XL]
```
### Dicts (TABVLA)
Dicts are key-value maps created with the `TABVLA` keyword and curly braces: