Integer[]

Inherits .Array

This class implements a dynamic array of Integer values.

This class is creatable.

DIM hIntegerArray AS Integer[]

hIntegerArray = NEW Integer[] ( [ Size AS Integer ] )

Create an array of Integer values.

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

This class acts like an array.

DIM hIntegerArray AS Integer[]
DIM anInteger AS Integer

anInteger = hIntegerArray [ Index AS Integer ]

Returns a value stored in the array from its index.

DIM hIntegerArray AS Integer[]
DIM anInteger AS Integer

hIntegerArray [ 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 hIntegerArray AS Integer[]
DIM anInteger AS Integer

FOR EACH anInteger IN hIntegerArray
  ...
NEXT

Enumerates each element stored in the array.

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