Skip to main content
Array of integers.

Constructors

ConstructorDescription
IntArray IntArray()Creates an empty array.
IntArray IntArray( Int )Constructor with parameter Int. Creates an array consisting of this integer.

Methods

MethodsDescription
Int Count()Returns the number of elements in the array.
Int GetAt( Int )Returns the element with the specified index.
Void Add( Int )Adds an integer to the end of the array.
Void Add( IntArray )Adds another array to the end of the array.
Void InsertAt( Int index, Int number )Adds an integer number to position index.
Void DeleteAll()Deletes all elements of the array.
Void DeleteAt( Int index )Deletes the element in position index.

Operators

OperatorDescription
<<Binary operator that adds an integer to the array.