[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|             NUMLOCK             |
+---------------------------------+
NUMLOCK([<expL>])

-----------------------------------
Returns current state of NumLock or turns NumLock on or off.
Return value - Logical
-----------------------------------

<expL>
        Turns NumLock on or off.  If <expL> is omitted, NUMLOCK() returns the
NumLock mode setting without changing the current state of Numlock.
This function always returns a logical value based on the setting of the
NumLock mode prior to execution of the function.

+---------------------------------+
|             Examples            |
+---------------------------------+
In last two examples, equal sign is used to execute NUMLOCK() without
returning a value.

* Set NumLock on
oldlock = NUMLOCK(.T.)

* Return to original setting
= NUMLOCK(oldlock)

* Toggle NumLock to opposite value
= NUMLOCK(!NUMLOCK())

-----------------------------------

See Also:  CAPSLOCK(), INSMODE()

-----------------------------------

See Also: CAPSLOCK() INSMODE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson