Collection Types

We can create types which are collections of other types (either primitive or custom). For instance a list of integer or a queue of strings...

In a more formal speech, a collection is a container for items of a given type.

An optional maximal size can be given with a positive integer (use "*" sign for infinite (anyway it is the default value)).

There are different kinds of collections. Each one can be declared with its own keyword. The syntax is the following :

Remarks :