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>capslock() - get or set the caps lock state</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     capslock() - get or set the caps lock state
  Usage:    <logical> = capslock([<logical>])
  Params:   a logical value, .T. to turn caps lock on, .F. to turn
            caps lock off
  Returns:  optionally returns the state of caps lock when no
            parameters are sent

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

                 capslock(.T.)
                 * turns caps lock on

                 capslock(.F.)
                 * turns caps lock off

                 ? capslock()
                 * prints .T. or .F. depending on state of capslock


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

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