Byte[]

Inherits .Array

This class implements a dynamic array of Byte values.

This class is creatable.

DIM hByteArray AS Byte[]

hByteArray = NEW Byte[] ( [ Size AS Integer ] )

Create an array of Byte values.

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

This class acts like an array.

DIM hByteArray AS Byte[]
DIM anInteger AS Integer

anInteger = hByteArray [ Index AS Integer ]

Returns a value stored in the array from its index.

DIM hByteArray AS Byte[]
DIM anInteger AS Integer

hByteArray [ Index AS Integer ] = anInteger

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

This class is enumerable with the FOR EACH keyword.

DIM hByteArray AS Byte[]
DIM anInteger AS Integer

FOR EACH anInteger IN hByteArray
  ...
NEXT

Enumerates each element stored in the array.

Properties  Methods 
Count  Length    Add  Clear  Find  Insert  Pop  Push  Read  Remove  Resize  Reverse  Sort  Write