Post Reply 
Key assignment
05-15-2021, 11:44 AM
Post: #1
Key assignment
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Key assignment - cmjaanes - 05-15-2021 11:44 AM
RE: Key assignment - StephenG1CMZ - 05-15-2021, 08:02 PM
RE: Key assignment - cmjaanes - 05-16-2021, 03:34 PM



User(s) browsing this thread: 1 Guest(s)