Dear friends, I´ve just got a new 49G+ and realized it does not have the "last x" key / function. Is it true?
Regards, Miguel
HP-49G+ - Where is the "last x" key / function?
|
|
« Next Oldest | Next Newest »
|
▼
Post: #9
10-25-2005, 12:49 PM
Dear friends, I´ve just got a new 49G+ and realized it does not have the "last x" key / function. Is it true? Regards, Miguel ▼
Post: #10
10-25-2005, 01:09 PM
You are correct, there is no "Last X" key or function that replicates or closely mimics that function of the RPN calculators. You have to write a program to mimic the functionality. I have one which I am pretty sure was posted here (or perhaps at comp.sy.hp48) by James M. Prange. If you search the archives, you might find more information. The program I use is as follows:
<< DEPTH -> n Type the above in, and save to a variable named “LAST x”. The program seems to work fine. ▼
Post: #11
10-25-2005, 01:20 PM
Dear Jeff, thank you very much for the program. I´ll try it right now!
Post: #12
10-25-2005, 01:31 PM
Dear Jeff, I was thinking a litle more: why not use the "lastarg" function only, assigned to some key? Regards, Miguel ▼
Post: #13
10-25-2005, 02:08 PM
LastARG returns the last arguments! That may be more than just one. Example: In approximate mode, 25 ENTER 6 divide. LASTX would return a "6". LASTARG returns 25 to the second level of the stack and 6 to the first level of the stack.
Post: #16
10-25-2005, 11:00 PM
Thanks for the credit, Jeff. I may well have posted that program
Here are three programs that handle the empty last arguments
Note that in the programs, I'm using exact integers (type 28) for
This first one both returns 0. (as a real number) to the stack and %%HP: T(3)A(D)F(.);This second one returns 0. (as a real number) to the stack and leaves the buffer empty if the last arguments buffer was empty: %%HP: T(3)A(D)F(.);This last one doesn't return anything to the stack and leaves the buffer empty if the last arguments buffer was empty. %%HP: T(3)A(D)F(.);If system flag -55 is set (No last args), then these programs will error out.
Note that after some commands that don't take any arguments, like
In the 49 series, LASTARG is invoked by LeftShift ANS (over the
For similar programs for the 28 series, change LASTARG to LAST,
Even in the 48 and 49 series, LAST can be used as a synonym for Personally, I prefer the first program that I've posted here best.
Just out of curiosity, which one do users of "Real RPN" models
Regards, Edited: 25 Oct 2005, 11:04 p.m. |