HP Forums

Full Version: HP Prime: Recommendation for future RPN Program Mode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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.

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:-)

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

Yes, I am playing catch up on this forum.

That would work for me too...