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 - close index close index files for an alias http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 close index         Close index files for an alias
------------------------------------------------------------------------------
 Syntax
   [!sAlias] close index

 Arguments
   sAlias is the database whose indexes are to be closed.

 Description
   The close index command closes all index files for the current or
   the specified alias, if sAlias is given.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

   proc Test_closeindex
   open sTest index sIdxLN, sIdxB
   ? "Database open:", chkopen( sTest ) // prints .t.
   close index
   ? "Database open:", chkopen( sTest ) // prints .t.
   close sTest
   ? "Database open:", chkopen( sTest ) // prints .f.
   endproc

   proc main
   Test_closeindex()
   endproc

See Also: close close databases

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