Editor
Troubleshooting

0046: Invalid array syntax

String variable notation (@s, s$) can't be used anywhere in the array syntax.

Possible solutions: use a global or local variable ($, @):

[email protected]($index,1i) = 2 // error
[email protected](s$index,1i) = 2 // error
[email protected]($index,1i) = 2 // OK