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>introduction to the cfts.prgs</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   Introduction to the CFTS.PRGs

   The distribution diskette contains two versions of the original 
   CFTS.PRG file: CFTS87.PRG and CFTS5.PRG. Each of these files contain a 
   set of Clipper UDFs that are intended to reduce your need to call CFTS 
   functions directly. These functions not only demonstrate one possible 
   way to access CFTS, but also provide error reporting in a manner that 
   is consistent with Clipper's own default error reporting system.

   You are free to use these UDFs as you please: incorporate them as 
   is into your own applications or use them as a starting point for your 
   own UDFs. Be sure to use CFTS5.PRG with CFTS5.LIB.

   For the majority of applications the UDFs supplied in the these 
   .PRGs offer two main advantages for the CFTS programmer. First, the 
   programmer can ignore potential CFTS errors in his or her application 
   code. All the CFTS.PRG UDFs trap their errors through the Cfts_Err() 
   UDF. As supplied, this function just reports the error and then exits 
   the program. This method can be a bit abrupt, but no more so than 
   Clipper itself.

   The second advantage is that for several complex operations, such 
   as generating an index or adding new records to an existing index, 
   these UDFs take care of much of the house work that would ordinarily 
   be required in the application itself. The UDFs are supplied with 
   source code and users of the CFTS library are welcome to modify them 
   to suit their specific needs. Because these UDFs are all in a single 
   .PRG, all the referenced functions will be linked into your 
   applications. The individual functions can be broken out or added to 
   existing .PRGs if .EXE file size is critical.


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

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