When I am running my code i got error in the following line. OPL problem. Does anybody know how we can address the wanted point inside of the array? in MATLAB it is easy but in OPL I have problem with it

dexpr float sh3[x in routes][n in stops]=sum(i in (1..V[x+3][(m[x]-n)]+1): V[x+3][(m[x]-n)+1]>1 && x<=3)(S[x+3][Q[x+3][i]]*d[x+3][Q[x+3][i]]-W[x+3][i]);