Function OrdListClear() Foundation

Closes all index files in a work area.

Syntax
OrdListClear() --> NIL
Return

The return value of OrdListClear() is always NIL.

Description

The index function OrdListClear() closes the index files in a work area. When the function is used without the alias operator, the index files are closed in the current work area.

Examples
OrdListClear()
// The example demonstrates how index files can be 
// closed. 

PROCEDURE Main 
   USE Customer INDEX CustA, CustB, CustC NEW 

   ? OrdNumber("CustC")    // result: 3 
   OrdListClear() 

   ? OrdNumber("CustC")    // result: 0 

RETURN 
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.