I am trying to write a program that decomposes a list and places
the elements on the stack in RPN mode. The RETURN command apparently
can only place one item on the stack and then exits the program. Is there a way to put more
than one item on the stack from within a single program?
Prime: Placing more than 1 item on the RPN stack in a single program?
|
11-18-2013, 08:37 PM
11-18-2013, 08:46 PM
Currently . . . not to my knowledge. (That is only one of the reasons why I keep using the 50G for *real* work, and the HP Prime just for fun!)
11-18-2013, 09:26 PM
I was afraid of that. The limited functionality of RPN in the
11-18-2013, 10:23 PM
Quote:Yes and no. On separate stack levels: no. As a list containing multiple items: yes. Some of my programs return lists for exactly that reason: I want more than a single output. It's not what we REALLY want, but at least it works. Another option is for the program to store results in variables. Big upside: you can use them in further calculations with very few keystrokes (e.g. ALPHA A). Big downside: You don't see them immediately.
11-19-2013, 08:59 AM
Hi, As I stated in similar post, it would be nice if at least 'OBJ->' were implemented in RPN entry. As it is now, you can compose a list (->LIST) but you cannot decompose it in RPN mode. Regards, Miguel
|
« Next Oldest | Next Newest »
|