Difference between revisions of "IndexNames"

m (adding doc status category)
m
Line 4: Line 4:
 
[[Category:Functions returning information about arrays]]
 
[[Category:Functions returning information about arrays]]
  
Returns a list of the names of the indexes of the array 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|Local indexes]] (not in the global namespace) are prefixed with a dot.
 
[[Local Indexes|Local indexes]] (not in the global namespace) are prefixed with a dot.
Line 10: Line 11:
 
= Declaration =
 
= Declaration =
  
  IndexNames( A : Array )
+
  IndexNames(a: Array)
  
 
= Examples =
 
= Examples =

Revision as of 18:53, 17 November 2013


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


You are not allowed to post comments.