Re: What would you prefer: RPN or RPL? Message #84 Posted by Eddie W. Shore on 21 Oct 2011, 12:20 a.m., in response to message #1 by Hugh Evans
Good question! I like RPN for simplicity, RPL for the extended set of commands. Truthfully, I'm not sure if I can be on teamRPN or teamRPL yet because I like both.
Here's how I would imagine some of the RPL commands on an RPN (keystroke) machine:
FOR Loop:
start
end
FOR register#
** commands **
NEXT
WHILE Loop:
y
x
WHILE Test# (i.e. #1: x=y; #2: x>y; #3: x<y, etc)
** commands **
WEND
DO Loop:
DO
** commands **
y
x
UNTIL Test# (i.e. #1: x=y, #2: x>y, #3: x<y, etc)
If text is allowed  it would be handled like the 41C/42S (?):
CHOOSE  each option is presented for 2 seconds. ("1. Choice 1", "2. Choice 2", "3. Choice 3"...)  and cycles until something is chosen. Up to 9 options.
"text 1"
"text 2"
...
"text n"
CHOOSE
PROMPT  message displays for 2 seconds and then stops for input.
"text"
PROMPT
DISP n  message displays for n seconds.
"text" or register#
DISP n
If graphing functions is featured:
PLOT  plots an equation as an algebraic object.
'equation'
PLOT
XRNG and YRNG would work the same way as it would on the graphing calculators.
Edited: 21 Oct 2011, 12:22 a.m.
