Difference between revisions of "IndexesOf"
(changed category name (meta-inference functions)) |
|||
Line 1: | Line 1: | ||
[[Category:Functions that create lists]] | [[Category:Functions that create lists]] | ||
[[Category:Functions returning information about arrays]] | [[Category:Functions returning information about arrays]] | ||
− | [[Category:Functions | + | [[Category:Meta-Inference Functions]] |
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 05:34, 2 February 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