Post Reply 
expanding list to objects
06-20-2016, 07:36 AM (This post was last modified: 06-20-2016 07:37 AM by retoa.)
Post: #7
RE: expanding list to objects
(06-16-2016 02:20 PM)poznavatelj Wrote:  
(06-16-2016 02:16 PM)DrD Wrote:  Can you elaborate on how you would like to use a list expansion? Many list functions are available, (described in the User Guide). The list editor [shift] [7] is one way to operate on elements of lists directly.

I would like to expand list on stack, and then rearange elements by ROLL (up, down), and then again create list with rearanged elements. All in RPN modein HOME.

To create a list from stack you can select the first stack element you want to be in the list (the "highest" one) then choose stack/->list from the soft menu.
This is very useful if you want to save the history of your stack for future use.

Sadly there is no command to re-put the list on the stack. I tried to write a little program but til now with no success, I don't know how to write the single elements to the stack, if I use return, the program puts an element on the stack and then it exits, so I can not put the second one, if I only use List(n) it overwrites the stack each time, so I only get the last one.

Any ideas how to program that?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
expanding list to objects - poznavatelj - 06-16-2016, 01:58 PM
RE: expanding list to objects - DrD - 06-16-2016, 02:16 PM
RE: expanding list to objects - retoa - 06-20-2016 07:36 AM
RE: expanding list to objects - roadrunner - 06-20-2016, 11:08 AM
RE: expanding list to objects - Stevetuc - 06-21-2016, 10:10 AM
RE: expanding list to objects - Joe Horn - 06-21-2016, 09:12 AM
RE: expanding list to objects - Wes Loewer - 06-21-2016, 09:13 AM
RE: expanding list to objects - Tonig00 - 06-19-2016, 07:05 PM



User(s) browsing this thread: 1 Guest(s)