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>key() - turn keyboard on and off</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     key() - turn keyboard on and off
  Usage:    [<logical>] = key[<status>])
  Params:   logical <status> - .T. turns keyboard on, .F. turns it off
  Returns:  logical equal to the current status of the keyboard. .T. if
            it is on, otherwise .F.

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

                 * prevent CTRL/ALT/DEL while indexing
                 key(.F.)
                 index on empname to empname
                 key(.T.)
                 keyboard ""    && clear extraneous keys

  Note:     If you press CTRL/ALT/DEL When the keyboard is off
            the computer will not reboot. However, the keystrokes
            are still buffered and will be executed as soon as you
            issue a key(.T.).


See Also: disk()

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