From XJTAG version 3.6.0, you can store multiple variables of the same type in an array structure. Arrays are supported for the types INT, STRING and FILE.

INT i;
INT
[] intArray; STRING[] stringArray; FILE[] fileArray; intArray[0] := 42; i := intArray[0];

Multi-dimensional jagged arrays are also supported.

INT i;
INT[][] intArray;

intArray[0][0] := 42;
intArray[1][2] := 72;

XJEase arrays are also compatible with External .NET APIs that use IEnumerable, ICollection, IList, IReadOnlyCollection, IReadOnlyList, List and Array.

From XJTAG version 3.6.3, curly bracket initialisation syntax is supported for arrays:

INT[] i := {0, 1, 1, 2, 3, 5, 8, 13, 21, 34};
INT[][] j := {{1, 2, 4, 8}, {42}};

For more details on how to use arrays in your projects see the XJTAG Help installed with XJTAG version 3.6.