In the users manual an example is given of defining an array:
global IncrementDist(512);
and then doing
MyTotalDist = sum(&IncrementDist, 512, 1)
to get the sum.
I'm trying to do this but getting the error:
Error : ( error #31) data error in equation : Q1045 = sum(&IncrementDist, 512, 1)
This seems to happen regardless of where I place the line or what variable it's assigning to. I am using IDE version 4.1.0.24 and firmware version 2.4.0.180.