Post Reply 
HP48
10-23-2020, 10:36 PM
Post: #5
RE: HP48
(10-14-2020 04:37 AM)jklsadf Wrote:  Not quite the same, but the HP 48G series has an undo function (right-shift EVAL), and the HP 48S series has a last stack function (left-shift 2).

The similar (not equal¹) function to LAST-X in RPN is LASTARG in RPL (HP 48 series).

UNDO/LAST_STACK is totally different idea: it restores stack to previous state before operation, and old HP RPN machine doesn't have that functionality (only RPL have those capability).

¹: LAST-X in RPN and LASTARG in RPL get the same reults if RPL operation only gets one argument. If las operation takes more than one argument, LASTARG returns all them, while LAST-X only returns X (top stack element for that prior operation).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP48 - mobi323 - 10-12-2020, 12:29 AM
RE: HP48 - Steve Simpkin - 10-12-2020, 02:20 AM
RE: HP48 - jklsadf - 10-14-2020, 04:37 AM
RE: HP48 - David22 - 10-23-2020 10:36 PM
RE: HP48 - David22 - 10-23-2020, 10:29 PM
RE: HP48 - John Keith - 10-24-2020, 12:23 PM
RE: HP48 - David22 - 10-24-2020, 04:09 PM
RE: HP48 - John Keith - 10-24-2020, 08:08 PM



User(s) browsing this thread: 1 Guest(s)