IndexesOf

Revision as of 22:01, 31 January 2007 by Lchrisman (talk | contribs) (corrected category)


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


You are not allowed to post comments.