Routines (alphabetical) > Routines: O > OBJARR

# OBJARR

The OBJARR function returns an object reference vector or array. The individual elements of the array are set to the NULL object reference.

## Examples

Create a 3 element by 3 element object reference array with each element containing the null object reference:

A = OBJARR(3, 3)

## Syntax

Result = OBJARR( D1[, ..., D8] )

## Return Value

Returns an object reference to an 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

None

## Version History

5.0 | Introduced
8.0 | Obsolete NOZERO keyword

## See Also

OBJ_CLASS, OBJ_NEW