{{QBDLDATE:05-20-2022}} {{QBDLTIME:23:09:38}} {{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}} * '''QB64 1.4 and up''' (QB64 Team) * '''QBPE 0.5 and up''' (QB64 Phoenix Edition) * [[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}}