Arrays are Variables that contain more than a single value, accessed by an Index. In a way, this is analogous to how Variables and Switches work as well, as they require an Index (the Variable or Switch "Number") to access. Indeces are zero-based, meaning that the first Index will be 0.
Any Variable can be an Array.
Note: Underneath the covers, Arrays exist as a Json-formatted array or collection.
Arrays are primarily used in Data Sources to return more than one value at a time, such as all of the Unique ID's of the Party or all of the Status Effects on a Character.
In addition, Arrays can be leveraged by the Array Operations command.
5 Element Array:
The following is illustrative of an Array with 5 elements in it:
| 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| a | b | 255 | echo | 2.4 |