_CAPSLOCK (function)
Jump to navigation
Jump to search
The _CAPSLOCK function returns the current state of the Caps Lock key as on (-1) or off (0).
Syntax
- keyStatus%% = _CAPSLOCK
Availability
- QB64 v1.4 and up
- QB64-PE all versions
- Keyword not supported in Linux or macOS versions
See also
- _NUMLOCK (function), _SCROLLLOCK (function)
- _CAPSLOCK (statement), _NUMLOCK (statement), _SCROLLLOCK (statement)