Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - afdxname() return file name of index http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 afdxname()          Return file name of index
------------------------------------------------------------------------------
 Declaration
   database.hdr

 Syntax
   func char afdxname extern
   param untyped pIndexAlias

 Arguments
   pIndexAlias is the index alias whose file name is to be returned.

 Return
   The name of the index file associated with the passed alias.

 Description
   The afdxname() function returns the name of the index file which
   is currently associated with an index alias.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

   proc Test_afdxname
   ? afdxname( sIdxLN )                    // print "sidxln.fdx"
   set alias sIdxLN to "myindex.fdx"       // set alias name
   ? afdxname( sIdxLN )                    // print "myindex.dbf"
   endproc

   proc main
   Test_afdxname()
   endproc

See Also: afdx()

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