Difference between revisions of "IndexNames"
Line 13: | Line 13: | ||
== Examples == | == Examples == | ||
:<code>IndexNames(Car_prices) → ['Car_types', 'Year']</code> | :<code>IndexNames(Car_prices) → ['Car_types', 'Year']</code> | ||
− | :<code>Index]] J:=1..2 do IndexNames(J^I) → ['I', '.J']</code> | + | :<code>Index]] J := 1..2 do IndexNames(J^I) → ['I', '.J']</code> |
== See Also == | == See Also == | ||
* [[Local Indexes]] | * [[Local Indexes]] | ||
* [[IndexesOf]] | * [[IndexesOf]] |
Revision as of 00:44, 4 February 2016
IndexNames(A)
Returns a list of the identifiers, each as a text, of the indexes of the array «A». If «A» is a scalar, the list is of length zero.
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