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 - adbfname() return file name of alias http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 adbfname()          Return file name of alias
------------------------------------------------------------------------------
 Declaration
   database.hdr

 Syntax
   func char adbfname extern
   param alias sAlias

 Arguments
   sAlias is the alias whose file name is to be returned.

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

 Description
   The adbfname() function returns the name of the database file which
   is currently associated with an alias, independently of whether the
   database is opened or not.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

   proc Test_adbfname
   ? adbfname( sTest )                     // print "stest.dbf"
   set alias sTest to "mydbf.dbf"          // set alias name
   ? adbfname( sTest )                     // print "mydbf.dbf"
   endproc

   proc main
   Test_adbfname()
   endproc

See Also: adbf()

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