Jump to content

Array concatenation: Difference between revisions

m
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:
1,150

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.