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 - use close all files associated with the current alias http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 use                 Close all files associated with the current alias
------------------------------------------------------------------------------
 Syntax
   use

 Arguments
   None.

 Description
   The use command closes all files (database, index and memo) associated
   with the current alias. The order for the alias is set to 1, and the
   relation and filter list for the alias is set to NULL.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

   proc Test_use
   use sTest            // open alias with default database name
   ? sTest->lastname, indorder()
   use                  // close alias
   use "stest.dbf" alias sTest index sIdxLN, sIdxB // open with indexes
   ? sTest->lastname, indorder()
   endproc

   proc main
   Test_use()
   endproc

See Also: close all

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