[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson