IndexesOf

Revision as of 06:19, 17 December 2013 by Max (talk | contribs) (→‎IndexesOf(a))


IndexesOf(a)

Returns a list of handles to the indexes of array a. It is different from IndexNames(A), which returns the identifiers of the index variables as text values, instead of handles.

Sometimes an array has more than one local index with the same identifier. In this case, you can use IndexesOf(a) to identify each index safely because each handle unambiguously refers to the coresponding index, where IndexNames(a) would return the identifiers as identical and therefore ambiguous text values.


Example

IndexNames(Car_prices) --> [Car_types, Year]

Syntax: IndexesOf(a: Array)


Retrieved from "http://lumina.com/wiki/index.php/VarTerm_Functions"

See Also

Comments


You are not allowed to post comments.