NEWARRINIT
966
Invalid syntax for dynamic array initialization on new
When attempting to initialize a dynamic array in a new expression, you used parentheses instead of curly braces and a value instead of a “#”. The correct syntax is
record arr, [#]int proc arr = new int[#] {1, 2, 3} end
(Note that you will get a different error message if you make only one of these syntax errors without the other.)