{{QBDLDATE:07-31-2022}} {{QBDLTIME:23:36:31}} {{DISPLAYTITLE:_CAPSLOCK (function)}} The [[_CAPSLOCK (function)| _CAPSLOCK]] function returns the current state of the Caps Lock key as on (-1) or off (0). {{PageSyntax}} : {{Parameter|keyStatus%%}} = [[_CAPSLOCK (function)| _CAPSLOCK]] {{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}} * [[_NUMLOCK (function)]], [[_SCROLLLOCK (function)]] * [[_CAPSLOCK]] (statement), [[_NUMLOCK]] (statement), [[_SCROLLLOCK]] (statement) {{PageNavigation}}