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>isansi()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ISANSI()
 Tests to see if the ANSI screen driver is installed
------------------------------------------------------------------------------
 Syntax

     ISANSI() --> lInstalledDriver

 Returns

     ISANSI() returns .T. when ANSI.SYS or a comparable driver has been
     loaded from CONFIG.SYS.

 Description

     ISANSI() determines if ANSI.SYS or another comparable driver has been
     loaded from CONFIG.SYS.  Some full-page displays require the ANSI
     driver.  If the driver is present, the display is fully operational.

 Note

     Warning!  You must implement DSETWINDOW(.F.) for ISANSI() to return
     a correct result.

 Example

     If ANSI.SYS is present, output through DOS.  This allows a simple
     terminal emulation:

     IF ISANSI()                  // ANSI driver present?
        COM_DOSCON(dDate)         // Output via DOS
     ELSE
        *...                      // Individual ANSI handling
     ENDIF


See Also: COM_DOSCON() DSETWINDOW()

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