==== →LIST ====
----
Assemble a list from its elements
----
^ __Input Stack__ ^^^^ ^ __Output Stack__ ^
| **On** | **...** | **O1** | **In** | **→** | **L** |
| //Level n+1// | //...// | //Level 2// | //Level 1// | //→// | //Level 1// |
{{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}}
| **Keyword type** | [[manual:chapter5:basics#commands|Command]] ||
| **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-2commands-that-must-use-dolist-to-parallel-process|Group 2]] | //Commands that must use //''[[manual:chapter6:lists:cmd_cmddolist|DOLIST]]''// to parallel process// |
| **Affected by flags** | //None// ||
----
The ''→LIST'' command combines the first **In** elements on the stack above itself in a list.
----
''→LIST'' is fully equivalent to its **userRPL** counterpart.
----
**__Input__**
4: '3/8'
3: "This is a string"
2: 'SIN(X)'
1: 2
…………………………………………………………………………………………………………
→LIST
\\
**__Output__**
4:
3:
2: '3/8'
1: { "This is a string" 'SIN(X)' }
…………………………………………………………………………………………………………
----
{{page>manual:chapter6:lists&nofooter&noeditbtn&inline}}