Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>numlock() - get or set the num lock state</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     numlock() - get or set the num lock state
  Usage:    <logical> = numlock([<logical>])
  Params:   a logical value, .T. to turn num lock on, .F. to
            turn num lock off
  Returns:  optionally returns the state of num lock when no
            parameters are sent

 ---------------------------------- Example ---------------------------------

                 numlock(.T.)
                 * turns num lock on

                 numlock(.F.)
                 * turns num lock off

                 ? numlock()
                 * prints .T. or .F. depending on state of
                 * num lock key


See Also: kbdstat() keystat() capslock() peek() poke() scrlock()

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