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>kbdtype()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 KBDTYPE()
 Determines the type of keyboard in use
------------------------------------------------------------------------------
 Syntax

     KBDTYPE() --> nKeyboardType

 Returns

     KBDTYPE() returns a value that corresponds to the type of keyboard.

 Description

     KBDTYPE() determines the type of keyboard in use.  This lets you check
     if the keyboard has F11/F12 keys available (which the CA-Clipper Tools
     supports).  The possible keyboard values are:

     Table 13-7: Coding of Keyboard Types
     ------------------------------------------------------------------------
     Value   Keyboard Type
     ------------------------------------------------------------------------
     0       PC keyboard
     1       AT keyboard
     2       Extended keyboard w/101/102 keys,  F11/F12
     ------------------------------------------------------------------------

 Note

     .  This function has been thoroughly tested, but there may be
        problems with keyboards that are not fully compatible.

 Example

     Query the keyboard:

     ? KBDTYPE()         // 2  Extended keyboard


See Also: KBDSTAT() KBDDISABLE() KBDSPEED() DSETKBIOS()

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