Function OrdList() Foundation
Determines a list of all tag names relating to the current work area.
Syntax
OrdList() --> aTagNames
Return
OrdList() returns a one dimensional array holding strings with the tag names of all open indexes. When no index is open, an empty array is returned.
Description
The index function OrdList() provides information about indexes open in a work area. The returned array has OrdCount() elements.
Examples
// In the example, two index files for a customer file are created
// and then closed. The effect of the function OrdList() is
// shown.
PROCEDURE Main
USE Customer NEW EXCLUSIVE
INDEX ON CUSTNO ;
TAG C_Number ;
TO CustA
INDEX ON Upper(LASTNAME+FIRSTNAME) ;
TAG C_LastName ;
TO CustB
SET INDEX TO CustA, CustB
? OrdList() // Result: {C_NUMBER, C_LASTNAME}
CLOSE Customer
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.