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 5.2 . The Guide To CA-Clippe - <b>indexext()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 INDEXEXT()
 Return the default index extension based on the database driver currently
 linked
------------------------------------------------------------------------------
 Syntax

     INDEXEXT() --> cExtension

 Returns

     Unless you have linked another database driver, INDEXEXT() returns
     ".NTX" to indicate that the default CA-Clipper driver is in effect.  If
     the dBASE III PLUS compatible database driver is linked, the function
     returns ".NDX".

 Description

     INDEXEXT() returns the default index file extension by determining which
     database driver is currently linked.

 Examples

     .  In this example, INDEXEXT() creates an existence test for the
        Customer index file independent of the database driver linked into
        the current program:

        USE Customer NEW
        //
        IF .NOT. FILE("Customer" + INDEXEXT())
           INDEX ON CustName TO Customer
        ENDIF

 Files:  Library is CLIPPER.LIB.

See Also: INDEXKEY() INDEXORD()

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