The INTARR function returns an integer vector or array.

Examples


Create I, a 3-element by 3-element integer array with each element set to 0 by entering:

I = INTARR(3, 3)

Syntax


Result = INTARR( D1[, ..., D8] [, /NOZERO] )

Return Value


Returns the integer array of the specified dimensions.

Arguments


Di

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.

Keywords


NOZERO

Normally, INTARR sets every element of the result to zero. If NOZERO is nonzero, this zeroing is not performed and INTARR executes faster.

Version History


Original

Introduced

See Also


BYTARR, BOOLARR, COMPLEXARR, DBLARR, DCOMPLEXARR, FLTARR, LON64ARR, LONARR, MAKE_ARRAY, STRARR, UINTARR, ULON64ARR, ULONARR