Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>ksetnum()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 KSETNUM()
 Queries/sets the system setting for NUMLOCK
------------------------------------------------------------------------------
 Syntax

     KSETNUM([<lNewSwitch>]) --> lOldSwitch

 Argument

     <lNewSwitch>  Designates whether "NUM LOCK" is on (.T.) or off
     (.F.).  The default value is the system setting.

 Returns

     KSETNUM() returns the current setting for NUM LOCK when no parameter is
     specified; otherwise, it returns the previous setting.

 Description

     KSETNUM() returns the current system setting for NUM LOCK.  If the
     <lNewSwitch> is specified, NUM LOCK is set accordingly.

 Examples

     .  Query the NUMLOCK function:

        lNumLock: = KSETNUM()

     .  Switch on NUMLOCK and save the previous status:

        lOldNumLock: = KSETNUM(.T.)


See Also: KSETINS() KSETCAPS() KSETSCROLL()

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