Show pageDiscussionOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== LIST→ ==== <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Split a list into its elements </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^^^^ | **L** | **→** | **O<sub>n</sub>** | **...** | **O<sub>1</sub>** | **I<sub>n</sub>** | | //Level 1// | //→// | //Level n+1// | //...// | //Level 2// | //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// || </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- The ''LIST→'' command takes a list of **I<sub>n</sub>** and returns each object to a separate level, and returns the total number of objects to stack level 1. </callout> <callout type="success" icon="true" title="Compatibility"> ---- ''LIST→'' is fully equivalent to its **userRPL** counterpart. </callout> <callout type="info" icon="true" title="Usage"> ---- **__Input__** <code> 4: 3: 2: 1: { 1 3 5 } ………………………………………………………………………………………………………… LIST→ </code> \\ **__Output__** <code> 4: 1 3: 3 2: 5 1: 3 ………………………………………………………………………………………………………… </code> </callout> <callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> ---- {{page>manual:chapter6:lists&nofooter&noeditbtn&inline}} </callout> manual/chapter6/lists/cmd_innercomp.txt Last modified: 2021/10/04 13:45by jojo1973