HP 28S - Custom Menu - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: HP 28S - Custom Menu (/thread-12668.html) |
HP 28S - Custom Menu - BradD - 03-23-2019 02:56 AM I'd like to add several simple functions such as 1/x, y^x, and sqrt to the Custom menu to keep from having to hit the second function button every time I use these. Can someone point me to an example of how to do this quickly? Much appreciated. Brad RE: HP 28S - Custom Menu - Giuseppe Donnini - 03-23-2019 01:19 PM It's actually very straightforward: 1. Build a list with the commands/functions/variables you want. 2. Execute MENU (it's in the MEMORY menu, but on an HP-28 you might as well type it in). To implement your example, the actual keystrokes would be: 1. { 2. α (to deactivate immediate-execution mode) 3. SHIFT + 1/x 4. SHIFT + ^ 5. SHIFT + √ 6. ENTER 7. SHIFT + MEMORY 8. [MENU] RE: HP 28S - Custom Menu - BradD - 03-23-2019 02:05 PM Giuseppe, Thank you very much for posting such a clear step-by-step process. It worked perfectly! I have had my 28S since 1990 and really like most aspects of it. I abandoned using it 10-15 years ago because I got tired of pressing shift for all those basic functions. I've been using a 32S for a while because almost all of my essential functions are first functions. I've never gotten used to not being able to see multiple lines of the stack. This should re-invigorate my 28S! Brad RE: HP 28S - Custom Menu - Giuseppe Donnini - 03-24-2019 06:28 AM Enjoy your HP-28S, it is a very fine and beautiful calculator! If you use CUSTOM menus a lot, here are a few tips:
RE: HP 28S - Custom Menu - cdmackay - 03-24-2019 04:49 PM thank you Giuseppe, I will find that useful too. I thought I more or less understood custom menus from my 50g, but it seemed a little different on my 28S, which I'm just starting to play with. RE: HP 28S - Custom Menu - BradD - 03-24-2019 07:00 PM Thanks again. Very useful! RE: HP 28S - Custom Menu - franz.b - 03-25-2019 07:14 AM (03-24-2019 06:28 AM)Giuseppe Donnini Wrote: { STO A B C D E F ... } MENU:O does it work even on 48/50 series? RE: HP 28S - Custom Menu - Giuseppe Donnini - 03-25-2019 10:05 AM Yes and no. No, on the HP-48 you can't just use STO as the first element of a list to get an "input" menu. But the good news is that you don't need to! Since the HP-48 has two shift keys, the whole menu system was extented so that, for variable names, any normal CST menu now provides both "output" and "input" capabilities (like the VAR menu itself): (NO SHIFT) [Name] --> Executes the contents of the variable named "Name". LEFT SHIFT + [Name] --> Stores the object on stack level 1 in the variable named "Name". RIGHT SHIFT + [Name] --> Recalls the contents of the variable named "Name" to stack level 1. Or did you mean the inverse labels? These are possible, too, but the technique is entirely different. In the 48 the user is given the option to handle key labels and key actions completely separately, and the key actions themselves may be specified differently for each key plane (unshifted, left-shifted, right-shifted). In other words, the custom menu system in the 48 is orders of magnitude more advanced than its ancestor in the 28S. Just to give you an idea of its capability: you can even display a running clock in a menu key! But this additional power naturally comes at the price of greater complexity. So, to get inverse labels in User RPL, you would have to define your CST menu in the following way: { { GROB 21 8 ... @ MENU KEY 1 Label Object A @ MENU KEY 1 Action Object } { GROB 21 8 ... @ MENU KEY 2 Label Object B @ MENU KEY 2 Action Object } { GROB 21 8 ... @ MENU KEY 3 Label Object C @ MENU KEY 3 Action Object } ... } where GROB 21 8 ... is a 21 pixels wide by 8 pixels high graphics object depicting the inverse label. The problem is that you have to provide that GROB yourself. In System RPL, on the other hand, the task is much easier, because you have all the necessary tools to create the desired graphics object from a simple string representation of the label: { { :: TakeOver $ "A" MakeInvLabel ; ( *MENU KEY 1 Label Object* ) ID A ( *MENU KEY 1 Action Object* ) } { :: TakeOver $ "B" MakeInvLabel ; ( *MENU KEY 2 Label Object* ) ID B ( *MENU KEY 2 Action Object* ) } { :: TakeOver $ "C" MakeInvLabel ; ( *MENU KEY 3 Label Object* ) ID C ( *MENU KEY 3 Action Object* ) } ( ... ) } RE: HP 28S - Custom Menu - franz.b - 03-25-2019 10:32 AM thank you so much! of course I already knew the storage functions with the shift keys also from the CST menu, but not the other information! very useful! in reality I didn't have immediate need to use these functions, I just thought I had never read a function so powerful and simple to use (which instead doesn't exist). |