Post Reply 
User key assignment
06-13-2020, 03:20 AM (This post was last modified: 06-13-2020 11:49 AM by rlinden12.)
Post: #8
RE: User key assignment
(06-12-2020 12:13 PM)Didier Lachieze Wrote:  Do you have selected the comma instead of the dot as the decimal separator?

If so, by adding the following line at the beginning of your program you'll make them compatible with any type of digit grouping setting.

Code:
#pragma mode( separator(.,;) integer(h32) )

Note: you can insert the pragma statement in the program editor with the [Menu] key followed by option 5. This is anyway a good programming practice when you share programs with people who can use different settings.

Thanks... However it's not applicable for me in this case Didier... I use the dot as my separator... Besides, the error is in the KEY statement with only the key code as a parameter...

The program runs and works perfectly IF I don't include the KEY_On() statement. It's the user key assignment function that seems to be broken...

Rob
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: 4 Guest(s)