Question about "User keyboard usage". Beta2 FW
|
11-23-2017, 02:47 AM
Post: #7
|
|||
|
|||
RE: Question about "User keyboard usage". Beta2 FW
I've got one I use a lot as an example. I dont' like the hex/oct/bin/dec built-in program so I wrote my own and tied it to a user key KA_3.....Alpha 3 or the # char.
It's a menu based program called MBase(), but I activate it from the KEY function. I don't have any code inside the KEY definition itself, but do everything inside the RETURN call as in: RETURN STRING(EVAL(MBASE())); I can't remember why I did it that way, but I think it was because I can allow it to return an expression string that gets evaluated by the EVAL call and then the result gets converted to a STRING, as behavior with keys can be strange when it doesn't return a string. This seems to be a reliable way of doing it. Plus you can put whatever you want inside your function (MBase here). |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Question about "User keyboard usage". Beta2 FW - dg1969 - 11-21-2017, 10:21 PM
RE: Question about "User keyboard usage". Beta2 FW - Joe Horn - 11-22-2017, 04:02 AM
RE: Question about "User keyboard usage". Beta2 FW - Carlos295pz - 11-22-2017, 11:34 AM
RE: Question about "User keyboard usage". Beta2 FW - primer - 11-22-2017, 04:42 PM
RE: Question about "User keyboard usage". Beta2 FW - Tyann - 11-22-2017, 06:51 PM
RE: Question about "User keyboard usage". Beta2 FW - Tyann - 11-22-2017, 08:42 PM
RE: Question about "User keyboard usage". Beta2 FW - webmasterpdx - 11-23-2017 02:47 AM
RE: Question about "User keyboard usage". Beta2 FW - Tim Wessman - 11-23-2017, 04:10 PM
RE: Question about "User keyboard usage". Beta2 FW - Carlos295pz - 11-23-2017, 10:42 PM
RE: Question about "User keyboard usage". Beta2 FW - dg1969 - 11-23-2017, 08:18 PM
|
User(s) browsing this thread: