Array concatenation: Difference between revisions
m
→Vector concatenation
No edit summary |
|||
Line 3,743:
≪ n 1 + ROLL ARRY→ LIST→ DROP
n + 1 →LIST →ARRY
≫ ≫ 'CONCAT' STO
'CONCAT' STO▼
[1 2 3] [4 5] CONCAT
Line 3,751:
1: [1 2 3 4 5]
</pre>
A shorter version, without any local variable:
≪ SWAP ARRY→ 1 GET →LIST
SWAP ARRY→ 1 GET →LIST
+ LIST→ { } + →ARRY
▲ ≫ 'CONCAT' STO
=== List concatenation===
No need for a program to do that:
|