LISTARR Function
Returns a list.
Usage
result = LISTARR(number_elements[, value])
Input Parameters
number_elementsā€”The number of elements the created list should contain. Must be a scalar expression.
valueā€”(optional) The value with which to initialize each element of the list. May be any data type.
Returned Value
resultā€”A list with the requested number of elements.
Keywords
None.
Discussion
Values in the list are initialized to 0L unless value is specified.
Example
INFO, LISTARR( 2, 10 ), /Full
; PV-WAVE prints:
; <Expression>    LIST      = List(2)
;   INT       =       10
;   INT       =       10
See Also