The INTARR function returns an integer vector or array.
Result = INTARR( D1[, ..., D8] [, /NOZERO] )
Returns the integer array of the specified dimensions.
Either an array or a series of scalar expressions specifying the dimensions of the result. If a single argument is specified, it can be either a scalar expression or an array of up to eight elements. If multiple arguments are specified, they must all be scalar expressions. Up to eight dimensions can be specified.
Normally, INTARR sets every element of the result to zero. If NOZERO is nonzero, this zeroing is not performed and INTARR executes faster.
Create I, a 3-element by 3-element integer array with each element set to 0 by entering:
I = INTARR(3, 3)
Original |
Introduced |
BYTARR , COMPLEXARR , DBLARR , DCOMPLEXARR , FLTARR , LON64ARR , LONARR , MAKE_ARRAY , STRARR , UINTARR , ULON64ARR , ULONARR