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 Fri Sep 10 15:05:25 UTC 2021 against commit 437c274437c274fded54d82e99d70ea7d2917f332c095dd.

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