RPN on an RPL machine Message #9 Posted by bill platt on 7 Nov 2003, 9:52 a.m., in response to message #7 by Raymond Del Tondo
Hi Raymond,
A while back I got a great little tiny user RPL routine here on the forum, which makes lastx available for use on the RPL stack! It works almost exactly like the RPN lastx--- (there are some subtle differences but for most computational work ii is functionally identical):
<< DEPTH -> d << LASTARG DEPTH d - ROLLD LASTARG 1 - DROPN DUP DROP >> >>
I put it onto USER KEY "alpha enter" and so it is almost the same keystrokes as a 10c series! (You just ahve to remember to turn alpha off before hitting enter, if you had been writing text, or you will both enter your TEXT, [into level 2] and LASTx [into level 1])/ Other than that one minor annoyance, I find it very useful, and it lives in my home directory.
I suppose a savvy programmer could make a 4 level stack emulation, too.
In fact, I am surprised that I have not yet run across a sysRPL or UserRPL program to simulate a voyager or pioneer system--but right in the RPL shell....that would be very useful.
BTW I also have the Hrastprogrammer 41series emulator on my 48gx's and I use it frequently---it is nice to be able to do RPN keystroke programming on the 48---or to take a program that I have written on the RPN and just plunk it in there--to have all on one calculator is nice for travel.
Best regards,
Bill
|