QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: Todd_Bevins on May 06, 2020, 10:19:14 pm

Title: Syntax and example use of _CAPSLOCK or NUMLOCK
Post by: Todd_Bevins on May 06, 2020, 10:19:14 pm
I was wondering if someone could give some examples of how to correctly use _CAPSLOCK or _NUMLOCK.  I would like to toggle these on and off.

I can see from the Wiki it is:  _NUMLOCK {ON|OFF|_TOGGLE}, however if I put in:

_NUMLOCK ON     or     

_NUMLOCK OFF    or

_NUMLOCK TOGGLE

This is not valid.
Title: Re: Syntax and example use of _CAPSLOCK or NUMLOCK
Post by: FellippeHeitor on May 06, 2020, 10:20:38 pm
Do you have qb64 v1.4?
Title: Re: Syntax and example use of _CAPSLOCK or NUMLOCK
Post by: Todd_Bevins on May 06, 2020, 11:12:23 pm
Ah ha... lol  Nope I did not realize I was running 1.3.  Thank you!  Let me upgrade that.  :)