The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP Prime: Recommendation for future RPN Program Mode
Message #1 Posted by BruceTTT on 11 Nov 2013, 11:09 p.m.

What I'd love to see in one of the next revs: basically the << >> programming of the HP RPN calculators. Have a command that starts RPN programming mode, then simulate the stack operations in the program:

EXPORT NORM BEGIN

RPNMODE

PUSH * SWAP PUSH * + SQRT

END

Above would take two items on the stack, multiply each by itself (in effect squaring each), adding them together, then taking the square root.

      
Re: HP Prime: Recommendation for future RPN Program Mode
Message #2 Posted by Walter B on 12 Nov 2013, 12:06 a.m.,
in response to message #1 by BruceTTT

Quote:
What I'd love to see in one of the next revs: basically the << >> programming of the HP RPN calculators.
That's RPL. Your example would look as follows in true RPN:
x^2
x<->y
x^2
+
SQRT
RTN
or (without an x^2 function):
ENTER
*
x<->y
ENTER
*
+
SQRT
RTN
IMHO, this way of programming is far easier to read. YMMV.

d:-)

            
Re: HP Prime: Recommendation for future RPN Program Mode
Message #3 Posted by Eddie W. Shore on 13 Nov 2013, 9:00 p.m.,
in response to message #2 by Walter B

That would be cool to have a keystroke programming language in a graphing calculator.

Yes, I am playing catch up on this forum.

            
Re: HP Prime: Recommendation for future RPN Program Mode
Message #4 Posted by BruceTTT on 13 Nov 2013, 10:03 p.m.,
in response to message #2 by Walter B

That would work for me too...


[ Return to Index | Top of Index ]

Go back to the main exhibit hall