DIM hByteArray AS Byte[]
DIM anInteger AS Integer

FOR EACH anInteger IN hByteArray
  ...
NEXT

Enumerates each element stored in the array.