The Museum of HP Calculators

HP Forum Archive 03

[ Return to Index | Top of Index ]

HP48 - PROGRAMMING...
Message #1 Posted by Tal on 6 Sept 2000, 5:46 a.m.

Hi, HP48 users!

I wonder if is it possible to change the name of one of the soft key from the temporary menu (TMENU) labels, while the program is running?

For example, To change from start to stop, or to add a small square sign beside the name that mean that the soft key was changed or activated.

Best regards,

Tal email: td@chem.ch.huji.ac.il

      
Sure can!
Message #2 Posted by Joe Panico on 6 Sept 2000, 10:54 a.m.,
in response to message #1 by Tal

Tal, Still exploring the 48 I see. Changing the menu is easy if you use some SystemRPL commands. I'll list a simple program and the way to change.

{ "START" "GO" "NOW" "" "" "EXIT" } the menu -> menu make a local var

menu TMENU show menu

menu 1 {"STOP"} REPL change menu TMENU #3A1FCh SYSEVAL display current menu

That's it! You still follow all the commands that display the menu. Generally, the 48 displays a menu when the system is ready for keyboard input (HALT or WAIT). Using the SYSEVAL (for DispMenu.1) accomplishes the same things without needing the HALT or WAIT.

Tip! Use this feature to blank the menu during segments of programs, it looks better.

Joe

            
My posts always mess up
Message #3 Posted by Joe Panico on 6 Sept 2000, 10:58 a.m.,
in response to message #2 by Joe Panico

And... everytime I try to do this it list funny. OK, no comments

{ "START" "NOW" "LATER" "" "" "EXIT } -> menu menu TMENU menu 1 { "STOP" } REPL TMENU #3A1FCh SYSEVAL

Hope this post better Joe

                  
Re: My posts always mess up
Message #4 Posted by Dave Hicks on 10 Sept 2000, 7:40 p.m.,
in response to message #3 by Joe Panico

Are you trying to use the formatting techniques (linked at the top of the forum)?

If something is failing, please let me know.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall