Editor
Troubleshooting

0020: Variable is not declared as array

You're using the short array notation, but the array is not declared.

Possible solutions: declare the array using VAR..END:

var
$var: array 10 of Int
end
$var[0] = 0