Short[]

Inherits .Array

This class implements a dynamic array of Short values.

This class is creatable.

DIM hShortArray AS Short[]

hShortArray = NEW Short[] ( [ Size AS Integer ] )

Create an array of Short values.

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

This class acts like an array.

DIM hShortArray AS Short[]
DIM anInteger AS Integer

anInteger = hShortArray [ Index AS Integer ]

Returns a value stored in the array from its index.


DIM hShortArray AS Short[]
DIM anInteger AS Integer

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

FOR EACH anInteger IN hShortArray
  ...
NEXT

Enumerates each element stored in the array.


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