Compiler Error C0232
Message: Array initialisation expected
Possible error cause: An "array of arrays" is initialized, but the initialization values are not nested.
Error correction: Use a nested array initialization as shown in the example below.
Example of the error:
PROGRAM MAIN
VAR
value : ARRAY[0..2] OF ARRAY[0..2] OF INT := [1,2,3];
END_VARMessage:
C0232: Array initialisation expected
Error correction:
value : ARRAY[0..2] OF ARRAY[0..2] OF INT := [
[1,2,3],
[4,5,6],
[7,8,9]];