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 is rebuilt weekly, the content is automatically generated from murex's source code. Last built on Mon Sep 21 06:11:30 UTC 2020 against commit 2557f7c2557f7cc7535c452c21d89164bd38ed8996f02fd. Downloadable murex binaries are also built weekly. Current version is 0.52.2000 BETA which has been verified against tests.