🐐 Array concat
This commit is contained in:
13
README.md
13
README.md
@@ -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:
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user