Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_setnum()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_SETNUM()


Syntax:        L_SETNUM([<expL>])


Purpose:       To determine the current Num Lock key setting and
               optionally sets the Num Lock key mode on/off.


Arguments:     <expL> toggles the Num Lock key mode on or off.
               .T. will set the Num Lock key on.
               .F. will set the Num Lock key off.


Returns:       A Logical (.T.) if num lock is on else returns a
               logical (.F.)

               L_SETNUM() returns the current Num Lock key setting if
               an argument is not specified and the previous key
               setting if the argument is specified.


Examples:      * Force capslock ON then reset it to its previous
               mode = L_SETNUM(.T.)             && Num Lock key on

               Put some code here...

               L_SETNUM(mode)                   && Restore key  setting.


Language:      Assembler

See Also: L_SETCAPS() L_SETSCRL()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson