Difference between revisions of "IndexNames"
Line 3: | Line 3: | ||
Returns a list of the names of the indexes of the array A. | Returns a list of the names of the indexes of the array A. | ||
+ | |||
+ | [[Local Indexes|Local indexes]] (not in the global namespace) are prefixed with a dot. | ||
= Declaration = | = Declaration = | ||
Line 10: | Line 12: | ||
= Examples = | = Examples = | ||
− | IndexNames(Car_prices) | + | IndexNames(Car_prices) → ['Car_types','Year'] |
+ | |||
+ | [[Index..Do|Index]] J:=1..2 do IndexNames(J^I) → ['I','.J'] | ||
= See Also = | = See Also = | ||
* [[IndexesOf]] | * [[IndexesOf]] |
Revision as of 22:14, 22 February 2007
Returns a list of the names of the indexes of the array A.
Local indexes (not in the global namespace) are prefixed with a dot.
Declaration
IndexNames( A : Array )
Examples
IndexNames(Car_prices) → ['Car_types','Year']
Index J:=1..2 do IndexNames(J^I) → ['I','.J']
See Also
Comments
Enable comment auto-refresher