Post Reply 
Prime: Key Assignment
01-13-2014, 07:03 PM
Post: #5
RE: Prime: Key Assignment
(01-13-2014 05:19 PM)Miguel Toro Wrote:  Hi Han,

How do you do that? Is it using the RETURN command? I cannot find any reference of that on the manual. I would like, for example, to send a ESC command at the end of a program.

Thanks and regards,

Miguel

My post should probably have clarified that the keyeval effect was limited to the user keys. That is, one may redefine a user key by returning the keynumber. For example,

Code:

KEY K_7()
BEGIN
  RETURN(39);
END;

This turns the 7 key into the 6 key on the Home screen. You can put additional commands above the return(39) statement if you want to do some pre-processing before sending it over to the system keyhandler.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Prime: Key Assignment - Terje Vallestad - 01-11-2014, 05:22 PM
RE: Prime: Key Assignment - The Shadow - 01-11-2014, 09:02 PM
RE: Prime: Key Assignment - Han - 01-11-2014, 10:38 PM
RE: Prime: Key Assignment - Miguel Toro - 01-13-2014, 05:19 PM
RE: Prime: Key Assignment - Han - 01-13-2014 07:03 PM
RE: Prime: Key Assignment - Miguel Toro - 01-13-2014, 10:47 PM



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