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:Functions returning information about arrays]]
 
[[Category:Functions that Manipulate VarTerms]]
 
[[Category:Functions that Manipulate VarTerms]]
  

Revision as of 00:34, 1 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


You are not allowed to post comments.