Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>create an array containing the struct of a dbf file.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Create an array containing the struct of a DBF file.
------------------------------------------------------------------------------

 Syntax

        GT_DBStruct(<cFileName>) --> aStructure

 Arguments:

      <cFileName> is the name of the DBF file. If the name has no
      extension it defaults to DBF.

 Returns:

      An array holding the structure of the DBF file. For more information
      on the structure of this array see the documention for the Clipper
      function DBStruct().

 Description:

      GT_DBStruct() is designed to be the same as the Clipper function
      DBStruct(). The main change is that it works on un-opened database
      files.

 Examples:

      // Create a new database file using the structure of an existing
      // file.

      dbcreate("Universe",GT_DBStruct("Life"))

 Source: DBSTRU.PRG

 Author:  Dave Pearson

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