# Object[]

Inherits .Array

This class implements a dynamic array of `Object` references.

This class is creatable.

`DIM hObjectArray AS Object[] hObjectArray = NEW Object[] ( [ Size AS Integer ] )`

Create an array of `Object` references.

Size specifies the initial size of the array. By default, the array is initially void.

This class acts like an array.

`DIM hObjectArray AS Object[] DIM anObject AS Object anObject = hObjectArray [ Index AS Integer ]`

Returns a reference stored in the array from its index.

`DIM hObjectArray AS Object[] DIM anObject AS Object hObjectArray [ Index AS Integer ] = anObject`

Modifies the reference stored in the array at the specified index.

This class is enumerable with the FOR EACH keyword.

`DIM hObjectArray AS Object[] DIM anObject AS Object FOR EACH anObject IN hObjectArray ... NEXT`

Enumerates each reference stored in the array.

Properties |  | Methods |
--- | --- | --- | ---
Count Length Max |  | Add Clear Copy Find Insert Pop Push Remove Resize Reverse Sort |