murex Shell Docs

Command Reference: append

Add data to the end of an array

Description

append data to the end of an array.

Usage

<stdin> -> append: value -> <stdout>

Examples

» a: [Monday..Sunday] -> append: Funday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Funday

Detail

It's worth noting that prepend and append are not data type aware. So any integers in data type aware structures will be converted into strings:

» tout: json [1,2,3] -> append: new 
[
    "1",
    "2",
    "3",
    "new"
]

See Also

This site's content is rebuilt automatically from murex's source code after each merge to the master branch. Downloadable murex binaries are also built with the website.

Last built on Tue Jun 22 08:18:17 UTC 2021 against commit 2235c7b2235c7b18f86f1cf214e246b88b0ea193d87fe80.

Current version is 2.2.1100 BETA which has been verified against tests.