Post Reply 
RPN Program on HP Prime
09-18-2019, 07:41 PM (This post was last modified: 09-18-2019 10:41 PM by mdanoregon.)
Post: #1
RPN Program on HP Prime
Hi,

I wanted to run a list of commands in RPN mode and the closest examples I found was RPN Stack by Steve Tuc and Run Macro by Eddie Shore.

Below is what I found to work right now if it can be of use to others.

However, I am wondering if there is a better solution or if new features have been added to the Prime that would allow writing to the stack.

//Alpha_Dot by Marcel Dan based on RPN Stack by Steve Tuc
//Step 1. Write RPN commands in a Note
//Step 2. In RPN mode on the Terminal, enter the note name in quotes and press enter
//Step 3. Press the keys Alpha Key and Dot Key to pull the commands from the Note to the Terminal (User Mode need to be enabled with Shift + User/Help)

KEY KA_Dot()
BEGIN
RETURN IFTE(Entry==2,Notes(Ans(1)),"{Ans(1)}");
END;
Find all posts by this user
Quote this message in a reply
Post Reply 




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