Native Arrays
Gambas has a predefined array class for each native datatype.
The name of these classes is the name of the datatype they store followed by
an opened and a closed bracket.
You can initialize an array, or create an array inside an expression with the
[
...
]
operator. See
Inline Arrays for more information.
In Gambas 3, any datatype has an array equivalent. For example: String[][], for an array of string arrays ; Collection[] for an array of collections ; and so on.
The class of non native datatype arrays is created on the fly by the interpreter.