Post Reply 
Leaving original user input in verbatim on CL after execution... any ideas?
01-31-2017, 04:10 PM
Post: #9
RE: Misbehaving ENG num format... any ideas?
(01-31-2017 03:11 PM)Han Wrote:  The program above always returns either 0 or 3 (because it always returns the result of the last operation within the program). The way the user keys works is that when the re-defining program returns a number, the user-key system will mimic the key corresponding to that keycode. So 0 is the keycode for the [App] key, and 3 is the keycode for the [Help] key. You can use return() and specify a different keycode. Another alternative is to return a string (even an empty one) which starts the command line.

Nice. Thanks for the tip!
Fixed ENG↔Standard hotkey for history entries only:
"USERKEYS":
Code:
KEY K_Eex()
BEGIN
IF (HFormat==0) THEN
   3►HFormat
ELSE
   0►HFormat
END;
RETURN "";
END;

-Andy
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Misbehaving ENG num format... any ideas? - tastyelectron - 01-31-2017 04:10 PM



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