User Keys RPN - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: User Keys RPN (/thread-5489.html) |
User Keys RPN - luisphysics - 01-09-2016 08:56 PM So I'm trying to shortcut the CONVERT() in RPN to make my life easier. I my program is easy KEY K_Eex() BEGIN RETURN "CONVERT()"; END; but when I use the user key in RPN it just prints the convert then I have to press OMG [ENTER] all over again. This makes me grumpy. Does anyone know how I can just tell it to press enter for me and trust me that I'll use it where I will need it? I was thinking it should look like this KEY K_Eex() BEGIN RETURN "CONVERT()"; // Some code here that presses enter for me END; RE: User Keys RPN - luisphysics - 01-09-2016 09:32 PM What I'm about to show you is sad. But found a hack to make what I want work. You had KILL; Before the end of the program KEY K_Eex() BEGIN RETURN "CONVERT()"; KILL; END; So in RPN mode type 30_deg [ENTER] 1_rad [ENTER] [Shift] [Help] [EXX] 0.52....._rad It seems that KILL; presses enter for you or something. I think this might work for a bunch of other functions too. RE: User Keys RPN - Francois Lanciault - 01-10-2016 09:56 PM (01-09-2016 09:32 PM)luisphysics Wrote: What I'm about to show you is sad. But found a hack to make what I want work. You had KILL; Before the end of the program Does not work here :-( RE: User Keys RPN - luisphysics - 01-11-2016 02:12 AM Are you using the physical calculator or are you using one of the apps? Because this works on my calculator but not on the iOS version RE: User Keys RPN - Francois Lanciault - 01-11-2016 04:12 AM (01-11-2016 02:12 AM)luisphysics Wrote: Are you using the physical calculator or are you using one of the apps? Because this works on my calculator but not on the iOS version Physical Calculator, latest firmware. But I admit I did not try your solution with your exact inputs. I use a different key assignment and a different return statement. I will try it exactly as you typed and report. François |