Closed x87 closed 1 year ago
Test case:
{$CLEO .cs}
string s[3]
longstring v[3]
int y = 18 // 3*2 + 3*4
0@s[0] = '0'
0@s[1] = '2'
0@s[2] = '4'
s[0] = '0'
s[1] = '2'
s[2] = '4'
v[0] = "6"
v[1] = "10"
v[2] = "14"
s$var[0] = '4'
s$var[1] = '6'
s$var[2] = '8'
v$var[0] = "4"
v$var[1] = "8"
v$var[2] = "12"
this works:
this doesn't:
As an implication custom string variables also get wrong indexes: