Reference Guide > I–L Routines > I32INDGEN Function
  

I32INDGEN Function
Returns a 32-bit integer array with the specified dimensions.
enabled.
Usage
result = I32INDGEN(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 initialized 32-bit integer array. If the resulting array is treated as a one-dimensional array, then its initialization is given by the following:
Keywords
None.
Example
This example creates a 4-by-2 32-bit integer array.
; Create an 32-bit integer array.
a = I32INDGEN(4, 2)
INFO, a
; PV-WAVE prints: A           INT32     = Array(4, 2)
PRINT, a
; PV-WAVE prints:
; 0    1    2    3
; 4    5    6    7
See Also
BINDGEN, CINDGEN, DCINDGEN, DINDGEN,   FINDGEN, INDGEN, LINDGEN, LINSPACE, SINDGEN

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.