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,... [, /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 64 elements. If multiple arguments are specified, they must all be scalar expressions. Up to 64 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 |
| 9.3 |
Change maximum dimensions to 64 |
See Also
BYTARR, BOOLARR, COMPLEXARR, DBLARR, DCOMPLEXARR, FLTARR, LON64ARR, LONARR, MAKE_ARRAY, STRARR, UINTARR, ULON64ARR, ULONARR