It is possible to declare array variables with the array identifier followed by the type of the elements within angle brackets.
Example:
a, b, and c are now arrays of integers, and d is an array of handles to objects of the Foo type.
When declaring arrays it is possible to define the initial size of the array by passing the length as a parameter to the constructor. The elements can also be individually initialized by specifying an initialization list. Example:
Multidimensional arrays are supported as arrays of arrays, for example:
Each element in the array is accessed with the indexing operator. The indices are zero based, i.e. the range of valid indices are from 0 to length - 1.
When the array stores handles the elements are assigned using the handle assignment.
Arrays can also be created and initialized within expressions as anonymous objects.