{{DISPLAYTITLE: _NUMLOCK (function)}}
The [[_NUMLOCK (function)| _NUMLOCK]] function returns the current state of the Num Lock key as on (-1) or off (0).


{{PageSyntax}}
: {{Parameter|keyStatus%%}} = [[_NUMLOCK (function)| _NUMLOCK]]


{{PageAvailability}}
* Version 1.4 and up.
* [[Keywords_currently_not_supported_by_QB64#Keywords_Not_Supported_in_Linux_or_MAC_OSX_versions|Not available in Linux or macOS]].


{{PageSeeAlso}}
* [[_CAPSLOCK (function)]], [[_SCROLLLOCK (function)]]
* [[_CAPSLOCK]] (statement), [[_NUMLOCK]] (statement), [[_SCROLLLOCK]] (statement)


{{PageNavigation}}
