Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!sdd.hp.com!hplabs!hpl-opus!hpnmdla!darrylo From: darrylo@hpnmdla.hp.com (Darryl Okahata) Newsgroups: comp.sys.handhelds Subject: LASTX for the HP-48SX Message-ID: <1570014@hpnmdla.hp.com> Date: 5 Mar 91 20:32:34 GMT Organization: HP Network Measurements Div, Santa Rosa, CA Lines: 28 When I use the HP-48SX as a calculator, I miss the LASTX key present on older RPN calculators (the last args key doesn't cut it, as I then have to swap and drop to get what I want). Here is a version of LASTX for the 48SX. -- Darryl Okahata UUCP: {hplabs!, hpcea!, hpfcla!} hpnmd!darrylo Internet: darrylo%hpnmd@relay.hp.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion or policy of Hewlett-Packard or of the little green men that have been following him all day. =============================================================================== @ @ This is a version of LASTX for the HP-48SX @ Cut everything before the "%%HP" line. @ %%HP: T(3)A(D)F(.); \<< DEPTH \-> n \<< LASTARG DEPTH n - DUP \-> s \<< ROLLD s 1 - DROPN \>> \>> \>>