HP Prime: Recommendation for future RPN Program Mode



#5

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.


#6

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


#7

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

Yes, I am playing catch up on this forum.

#8

That would work for me too...


Possibly Related Threads...
Thread Author Replies Views Last Post
  Sending little images to the Prime (...and Program name bug?) Erwin Ried 19 848 12-10-2013, 05:35 PM
Last Post: Erwin Ried
  Problem with debug HP prime program, somebody help me? Carlos CM (Mexico) 6 499 12-05-2013, 03:07 PM
Last Post: Carlos CM (Mexico)
  Integration question and "RPN" mode comment Craig Thomas 16 942 12-05-2013, 02:32 AM
Last Post: Nick_S
  HP PRIME: APP program code DISAPPEARS !! Joseph Ec 0 161 11-25-2013, 11:35 AM
Last Post: Joseph Ec
  Prime: Placing more than 1 item on the RPN stack in a single program? John Colvin 4 339 11-19-2013, 08:59 AM
Last Post: Miguel Toro
  Prime: Program size limited to 64K? Erwin Ried 4 325 11-17-2013, 11:42 PM
Last Post: Joseph Ec
  HP-Prime : Extracting elements from a list in RPN Miguel Toro 0 240 11-15-2013, 06:44 PM
Last Post: Miguel Toro
  [HP-Prime] Picking elements from a List in a program Jean-Michel 3 284 11-15-2013, 04:16 AM
Last Post: dg1969
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 380 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  [prime] Insert a breakpoint in a program for debugging ? Olivier Lecluse 3 240 11-09-2013, 09:41 PM
Last Post: Joseph Ec

Forum Jump: