Hi Bob-
{ 1, 2, 3, 4 } is an "array literal", and this is only supported for define fields, where you are defining a constant:
define int[] x = { 1, 2, 3, 4 }
If you want to define an array where the contents are changeable, you need to declare an inline array:
inline int[4] x
The contents of this array will need to be defined, e.g. in your component's start() method.