INTARR Function
Returns an integer vector or array.
enabled.
Usage
result = INTARR(dim1, ... , dimn)
Input Parameters
dimi—The dimensions of the result. May be any scalar expression. Up to eight dimensions may be specified.
Returned Value
result—An integer vector or array with the dimensions specified by dimi.
Keywords
Nozero—If Nozero is nonzero, the normal zeroing is not performed. This causes INTARR to execute faster.
Discussion
Normally, INTARR sets every element of the result to zero.
Example
result = INTARR(2, 3)
PRINT, result
; PV-WAVE prints:
; 0 0
; 0 0
; 0 0
See Also