🐐 Array concat

This commit is contained in:
2026-04-22 15:35:51 +02:00
parent 634c5a2f93
commit 60fe691731
11 changed files with 75 additions and 5 deletions

View File

@@ -136,6 +136,19 @@ Individual elements can be accessed by index using square brackets. Indexing is
> I
```
Arrays are concatenated with `@`:
```
DESIGNA x VT [I, II, III] @ [IV, V]
DIC x
```
```
> [I, II, III, IV, V]
```
Both operands must be arrays — using `@` on non-arrays raises an error.
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)