Array concatenation: Difference between revisions
Content added Content deleted
(Add Ecstasy example) |
|||
Line 3,741: | Line 3,741: | ||
>> |
>> |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
=={{header|RPL}}== |
|||
{{works with|Halcyon Calc|4.2.7}} |
|||
≪ SWAP ARRY→ LIST→ DROP → n |
|||
≪ n 1 + ROLL ARRY→ LIST→ DROP |
|||
n + 1 →LIST →ARRY |
|||
≫ ≫ |
|||
'CONCAT' STO |
|||
[1 2 3] [4 5] CONCAT |
|||
{{out}} |
|||
<pre> |
|||
1: [1 2 3 4 5] |
|||
</pre> |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |