Post Reply 
RPN and result storage in a variable
10-07-2020, 06:48 PM
Post: #2
RE: RPN and result storage in a variable
The good old HP48 method works in Prime too.
1) Put a number in the stack.
2) Put a variable/char in the stack. Use <Shift> () to evoke ' '. Enter a character (e.g., 'A' by using <ALPHA>) in the little square. Interestingly, strings won't be accepted. They will be broken down to chars separated by '*'.
3) The number is now in Position #2, the variable in Position #1.
4) Press 'STO', i.e., <Shift> EEX.
5) The variable disappears from the stack.
6) Recall the variable by evoking, e.g., 'A'.
7) Calculations may be performed in algebraic form, e.g., 'A*2'. A*2 appears in the stack. Press <Eval> to execute the calculation.

Hope this helps!
Frido
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: RPN and result storage in a variable - Frido Bohn - 10-07-2020 06:48 PM



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