String variable notation (@s, s$) can't be used anywhere in the array syntax.
@s
s$
Possible solutions: use a global or local variable ($, @):
$
@
0@s($index,1i) = 2 // error 0@(s$index,1i) = 2 // error 0@($index,1i) = 2 // OK
Last updated 5 years ago