Difference between revisions of "IndexesOf"
(corrected category) |
|||
Line 1: | Line 1: | ||
[[Category:Functions that create lists]] | [[Category:Functions that create lists]] | ||
[[Category:Data Type Functions]] | [[Category:Data Type Functions]] | ||
− | [[Category:Functions that Manipulate | + | [[Category:Functions that Manipulate VarTerms]] |
Returns the indexes of array A as a list of VarTerms. | Returns the indexes of array A as a list of VarTerms. |
Revision as of 22:01, 31 January 2007
Returns the indexes of array A as a list of VarTerms.
Declaration
IndexesOf( A : Array )
Description
IndexesOf(A) returns a list of varTerms, each one serving as a handle to the indexes of array A.
This is similar to IndexNames(A), except that IndexesOf returns actual varTerms, while IndexNames returns the index identifiers (as text strings).
It is possible for an array to have more than one local index having identical names. Obviously, this is not recommended, but in the unusual case where this occurs, the index handles returned by IndexesOf are unambiguous.
Retrieved from "http://lumina.com/wiki/index.php/VarTerm_Functions"
Examples
IndexNames(Car_prices) --> [Car_types,Year]
See Also
Comments
Enable comment auto-refresher