Post Reply 
User key assignment
06-11-2020, 10:17 AM
Post: #2
RE: User key assignment
Hi,
Your code seems ok, there is only the famous RETURN -1; that is missing (see https://www.hpmuseum.org/forum/thread-14929.html)

Code:

KEY K_On() 
BEGIN 
LOCAL an:={"Textbook","Algebraic","RPN"}; 
Entry:=(Entry+1) MOD 3; 

STARTVIEW(-1,1); // Refresh Home view BEFORE tagging...

TEXTOUT_P(an(Entry+1),G0,2,207,2,RGB(255,0,0));
FREEZE; // the mean part!
RETURN −1;
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
User key assignment - rlinden12 - 06-11-2020, 06:01 AM
RE: User key assignment - pinkman - 06-11-2020 10:17 AM
RE: User key assignment - rlinden12 - 06-11-2020, 11:32 PM
RE: User key assignment - rlinden12 - 06-12-2020, 11:27 AM
RE: User key assignment - Carlos295pz - 06-12-2020, 10:12 AM
RE: User key assignment - Didier Lachieze - 06-12-2020, 12:13 PM
RE: User key assignment - rlinden12 - 06-13-2020, 03:20 AM
RE: User key assignment - rlinden12 - 06-18-2020, 01:38 AM
RE: User key assignment - pinkman - 06-18-2020, 05:27 AM
RE: User key assignment - rlinden12 - 06-18-2020, 11:49 PM
RE: User key assignment - pinkman - 06-19-2020, 10:27 PM
RE: User key assignment - rlinden12 - 06-19-2020, 11:57 PM
RE: User key assignment - Carlos295pz - 06-18-2020, 06:42 AM
RE: User key assignment - rlinden12 - 06-18-2020, 11:51 PM



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