Programming puzzles: processing lists!
|
04-24-2017, 05:03 PM
Post: #24
|
|||
|
|||
RE: Programming puzzles: processing lists!
(04-22-2017 11:50 AM)pier4r Wrote: VS davidM code of the previous post (nice code once again, but this time the operation was complicated) I thought the intent was to avoid exploding the list and processing the elements on the stack, and I used a very inefficient application of DOSUBS. In retrospect, I've decided that the SUB command should be considered as one of the "list operators" since it has an overloaded function that directly operates on a list. Using that command, I wrote a second version that should perform much better than my first: Code: \<< (04-22-2017 11:50 AM)pier4r Wrote: Side question: I am not able to save a list in a list, without using another variable. You essentially need to explode the first list, then combine all the elements with →LIST. So something like this would work: Code: \<< |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)