_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 1.4 and up (QB64 Team)
- QBPE 0.5 and up (QB64 Phoenix Edition)
- Not available in Linux or macOS.
See also
- _NUMLOCK (function), _SCROLLLOCK (function)
- _CAPSLOCK (statement), _NUMLOCK (statement), _SCROLLLOCK (statement)