Compiler Error C0074

Message: Unexpected array initialization

Possible error cause: Syntax error in the array initialization

Error correction: Correct the syntax

Example of the error:

PROGRAM MAIN
VAR
    arr1 : INT := [1,2,3,4,5,6];
END_VAR

Message:

Error correction:

arr1 : ARRAY [1..6] OF INT := [1,2,3,4,5,6];