Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FAST TEXT SEARCH for Clipper v.2.0 - <b>cfts_index( <expc1>, <expn1>, <expc2>, <expn2> , <expn3> )</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   Cfts_Index( <expC1>, <expN1>, <expC2>, <expN2> , <expN3> )

       Purpose

   Generates a new CFTS index file.

       Parameters

   <expC1> is the name of the intended index file. Full path names 
   are supported.

   <expN1> is the size of CFTS index internal buffer expressed as 
   kilobytes.

   <expC2> is the name of the Clipper function that returns a 
   concatenated string consisting of the .DBF fields to be indexed.

   <expN2> is the file mode in which the index is to opened.
   Acceptable values are :
       0    READ-WRITE + SHARED
       1    READ-WRITE + EXCLUSIVE
       2    READ-ONLY + SHARED
       3    READ-ONLY + EXCLUSIVE

   See CftsOpen() for additional information.

   <expN3> is size of the index to be built. Legal values are 1, 2, or 
   3. If the parameter is omitted, the index record size defaults to 2 
   (32 bytes).

       Returns

   A CFTShandle (0 through 63) to the new index file. Errors are 
   trapped by Cfts_Err().

       Comments

   Cfts_Index() combines CftsCrea(), CftsAdd(), CftsClose(), and 
   CftsOpen() into one omnibus function for the generation of CFTS 
   indexes. See BIB.PRG for an example how it is used in practice.

   In the CFTS87.PRG, Cfts_Index() uses the Supplemental function 
   ISDELETE(). As is true with all of the Supplemental functions, 
   ISDELETE() is specifically for Clipper, Summer '87. CFTS5.PRG uses the 
   5.xx SET() function. See page 5-192 in the Clipper 5.01 Reference 
   manual.


See Also: Cfts_Err() CftsOpen() CFTS87.PRG CFTS5.PRG

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