On my brick it wasn't working, but
and
worked.
I saw that struct_array[
i].array[
j] in one line didn't work on my brick.
So I have changed the code:
and my programm was now running on the brick.
I only got the compile error, because RobotC is different from normal C.
In C I used to write structure array[n] and the array goes from array[0] to array[n] (n+1 indexes).
I didn't know that in RobotC you get for structure array[n] only an array from array[0] to array[n-1] (n indexes).