Home > Language Reference > System Functions > CapsLock

CapsLock

The CapsLock function forces the Caps Lock key to the specified state.

Syntax

CapsLock(on|off)

Parameters

on|off, keyword, switches the Caps Lock key to ON or OFF.

Return value

None.

See also

NumLock

Example

CapsLock(ON)