Array concatenation: Difference between revisions

No edit summary
Line 1,574:
 
[1 2 3] [4 5 6] cat # result: [1 2 3 4 5 6]
[`abc' `def'] [`ghi' `jkl'] cat # result: [`abc' `def' `ghi' `jkl']</lang>
 
# To concatenate more than two arrays, push the number of arrays
# to concatenate onto the stack and use ncat. For example,
 
[1 true `a'] [2 false `b'] [`3rd array'] 3 ncat
# leaves [1 true `a' 2 false `b' `3rd array'] on the stack</lang>
 
=={{header|ooRexx}}==
Anonymous user