Array indexing by a variable

Array indexing by a variable

Dear All,

I try to use Logic in Zenon. I try to index an array using another variable as the index:
ArrayName[IndexingVariable] := value;

I tried to parenthesis but unfortunately nothing has helped yet and I got "Unknown identifier" error.
I tried with constant index: ArrayName[1] := value; and there was no error.

Can you please help me, how can I dinamically index an array using a variable?

Thanks in advance!