05-15-2021, 11:44 AM
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
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