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>dsetkbios()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DSETKBIOS()
 Turns the extended keyboard mode on or off through BIOS (additional keys F11,
 F12)
------------------------------------------------------------------------------
 Syntax

     DSETKBIOS([<lNewKeyboardMode>]) --> lOldKeyboardMode

 Argument

     <lNewKeyboardMode>  Designates whether the extended keyboard input
     mode is on (.T.) or off (.F.).  The default value (.T.) designates that
     the extended keyboard input mode is on.

 Returns

     When called without the parameter, this function returns the current
     setting for DSETKBIOS().  If you pass a parameter, then it returns the
     previous setting.

 Description

     Beginning with CA-Clipper 5.0, all keyboard entries are read through the
     BIOS instead of DOS.  The default setting for DSETKBIOS() is now the
     opposite of what it was in previous versions.  The default setting for
     the enhanced keyboard is on (.T.).  When the enhanced keyboard mode is
     off, keyboard entries are redirected through DOS.  This function is very
     useful if file inputs must be read at program start.

 Note

     .  Symbolic constants for keyboard coding are found in the
        CTSCAN.CH include file and in Appendix A.

 Examples

     .  This example shows a keyboard entry that is redirected through
        DOS:

        C:\>TEST < KEYS.DAT

     .  This example shows the application TEST.EXE:

        DSETKBIOS(.F.)            // Switch to DOS input mode
        ACCEPT "" TO cInput


See Also: KEYREAD() KEYSEND() SETKXLAT() SCANKEY() KBDTYPE()

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