The OBJARR function returns an object reference vector or array. The individual elements of the array are set to the NULL object reference.
Result = OBJARR( D1 [, ..., D8] [, /NOZERO] )
Returns an object reference to an 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.
OBJARR sets every element of the result to the null object reference. If NOZERO is nonzero, this initialization is not performed and OBJARR executes faster.
Create a 3 element by 3 element object reference array with each element containing the null object reference:
A = OBJARR(3, 3)