List Commands Library for 50g
|
09-08-2017, 10:13 PM
Post: #130
|
|||
|
|||
RE: List Commands Library for 50g
(08-13-2017 02:36 PM)DavidM Wrote:That could be generalized into something like DOLIST that applies a program to each element on the level 1 list and the entire level 2 list. Here it is in userRPL:(08-13-2017 01:38 PM)BruceH Wrote: LPICK command...Nice one. Shouldn't be too difficult. Code: @ Input: List1 List2 Program Get items 1, 1, 4, 3, and 2 from a list: { "A" "B" "C" "D" } { 1 1 4 3 2 } « GET » Prog Output: {"A" "A" "D" "C" "B"} |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)