QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

The _CAPSLOCK (function) function returns the current state of the Caps Lock key as on (-1) or off (0).

Syntax

keyStatus%% = _CAPSLOCK (function)

Availability

See Also