Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Advantage CA-Clipper Guide v6.11 - set index http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SET INDEX
 Open index file(s) for the current work area
------------------------------------------------------------------------------

 Syntax

     SET INDEX TO [<cIndexList>] [ADDITIVE]

     TO <cIndexList> is a list of up to 15 index (.cdx, .idx or .ntx)
     file names, separated by commas.  Any reference to an index filename
     that results in either a null string ("") or spaces is ignored. Each
     index file can be specified as a literal filename or as a character
     expression enclosed in parentheses. If an extension is not specified,
     the Advantage RDD will first look for an .idx or .ntx file (depending
     on the default RDD). If the default RDD is DBFCDXAX and an .idx is
     not found, it will look for a .cdx file.

     The ADDITIVE clause tells the Advantage RDD not to close any
     previously opened indexes before opening the new index(es). It will
     also not change the current index order.

 Description

     SET INDEX closes all currently open index files and then opens the
     specified index files in the current work area. If the ADDITIVE
     clause is used, no previously opened indexes are closed before
     opening the new index(es).

     SET INDEX without an argument closes all indexes open in the current
     work area.

 Example

     #include "DBFCDXAX.CH"

     USE test VIA "DBFCDXAX"

     SET INDEX TO one, two, three       // Open ONE.IDX, TWO.IDX, and
                                        // THREE.IDX

     SET INDEX TO four ADDITIVE         // Open FOUR.IDX without closing
                                        // the other three indexes first.

     SET ORDER TO 2                     // Selects TWO.IDX as the
                                        // controlling index


See Also: INDEX

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