Was this helpful?
Multidimensional Arrays
CXL does not support multidimensional arrays directly, but it provides a way to simulate up to 4 dimensions. To simulate multiple dimensions, an index expression list (expr, expr, ...) can be used. The subscript expressions in the expression list evaluate to strings.
Example
# x is a two dimensional array in this example:
i = "A" ; j = "B" ;
x[i,j] = "East First Street";
This code assigns the string "East First Street" to the element of the array x which is indexed by the string "A,B".
Last modified date: 02/09/2024