APPEND

Syntax: | `vout = v1 // v2`

The append operator, `//`, is a binary operator that only accepts vectors, scalars, literal quote strings, or string variables as operands.

The meaning of the append operator depends on its operands. If the operands are both numeric, the second vector or scalar is appended to the first vector or scalar. If the operands are strings, the second string is appended to the first.

Examples

To illustrate appending numeric variables, suppose you have two vectors:

`X = [3;5;7]` and `Y = [-2;-4;-5]`

`X//Y` is `[3;5;7;-2;-4;-5]`

`0//X//1` is `[0;3;5;7;1]`

Note: `-1//X` is `[-1;-3;-5;-7]` while `(-1)//X` is `[-1;3;5;7]`

To illustrate appending strings, suppose you have a string variable:

`T = 'this is a string'`

Then: `T//' and another'` is `'this is a string and another'`.