HP Forums

Full Version: Key assignment
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am a newbie to HP Prime. Hope somebody can help. I use RPN.

Challenge: I use the function COMBINATIONS often and therefore want to assign COMB() to the SHIFT-7 user key.

I write a program as follows:
KEY KS_7()
BEGIN
RETURN "COMB";
END

I run the program.

It works, but I have to press an annoying ENTER everytime to evaluate.

Example:
5
enter
2
USER-SHIFT-7

This places "COMB" on the stack and I have to press ENTER to evaluate the result and then get the expected result (10) placed in the X register.

I would like "COMB" to be executed automatically by the program in such a way that immediately after I press "USER SHIFT 7", I get 10 in the x register.

Is this possible?

Thanks in advance

Rgds
Christian
I don’t think so, but could be wrong (I don’t use RPN).
This thread may be relevant.
https://www.hpmuseum.org/forum/thread-16...t=User+key
Thanks for the reply and for the very relevant link.
Too bad you can not access the RPN stack and issue an ENTER from a user key in RPN mode.
:-(
Reference URL's