I32ARR Function

Returns a 32-bit integer vector or array.

enabled.

Usage

    result = I32ARR(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—A 32-bit integer vector or array with the dimensions specified by dimi.

Keywords

Nozero—If Nozero is nonzero, the normal zeroing is not performed. This causes I32ARR to execute faster.

Discussion

Normally, I32ARR sets every element of the result to zero.

Example

result = I32ARR(2, 3)
PRINT, result
; PV-WAVE prints:
; 0   0
; 0   0
; 0   0

See Also

BYTARR, FLTARR, INDGEN, LONARR