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 Wed Jan 12 10:38:51 UTC 2022 against commit 50d6f4550d6f45b79e200b3cbc8e8e2639854a5265c7021.

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