DIM hObjectArray AS Object[]
DIM anObject AS Object

FOR EACH anObject IN hObjectArray
  ...
NEXT

Enumerates each reference stored in the array.