CT_ISANSI

 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()

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.