🐐 Array indexing

This commit is contained in:
2026-03-31 22:10:55 +02:00
parent cdad648f58
commit 58149b5f65
4 changed files with 41 additions and 7 deletions

View File

@@ -102,6 +102,15 @@ Arrays are defined using square brackets (`[]`) and commas (`,`). An array of in
DESIGNA x VT [I VSQVE X]
```
Individual elements can be accessed by index using square brackets. Indexing is 1-based, so `I` refers to the first element:
```
DESIGNA x VT [(I, II, III)]
DICE(x[I])
> I
```
## Conditionals
### SI/TVNC
If-then statements are denoted with the keywords `SI` (if) and `TVNC` (then). Thus, the code