Hi EigenGoofy,
sum(...) is a function to create various statistical properties like sum.N, sum.Total, sum.Mean, etc. (Try sum.=<ENTER> in Script window to see all properties.) Therefore the way like following should work:int i1 = 3;
int i2 = 6;
range a = col(A)[$(i1):$(i2)];
sum(a);
mytotal=sum.total;
--Hideo Fujii
OriginLab