The Museum of HP Calculators

HP Forum Archive 17

[ Return to Index | Top of Index ]

HP-48-SX/User Assigned key comands
Message #1 Posted by Hai Quan on 15 Sept 2007, 5:57 p.m.

When I attempt to execute a user asssigned command, all I get is the comand, not the executed command (e.g. if I have assigned "CLX" to a key the "CLX" is returned but not executed when I press the key.

What is the problem?

PS: The HP-48 passes all the internal tests.

      
Re: HP-48-SX/User Assigned key comands
Message #2 Posted by Raymond Del Tondo on 15 Sept 2007, 8:04 p.m.,
in response to message #1 by Hai Quan

There are various reasons why your attempt doesn't work.
1. CLX is _not_ an HP-48 command
2. You used double quotes, so you wanted to return a STRING

Solution:

1. Use a valid HP-48 command, like DROP in this case

You can create an unevaluated command on the stack this way:
{ command_name } OBJ-> DROP, where command_name is your actual command.
Then you specify they key to be assigned, e.g. 11.1, then ASN.

Alternatively you can embed your command into a program like this:
<< command_name >>

HTH

Raymond

            
Re: HP-48-SX/User Assigned key comands
Message #3 Posted by Hai Quan on 19 Sept 2007, 1:04 a.m.,
in response to message #2 by Raymond Del Tondo

Thanks. I will give it a shot again.

I have not used the double quotes. Just the entries as detailed on page 27 of the manual.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall