I'm having a problem referencing an array returned from another efs.
The return from the efs being called is:
return new Array(dKeltnerBasis + (nRangeFactor * dATR), dKeltnerBasis, dKeltnerBasis - (nRangeFactor * dATR));
I'm calling it like this:
Value2 = call("gmd/KeltnerAtrEmaAdj.efs", 16, 1.3);
and trying to reference like this:
return (Value2[0]);
If I simply do this:
return Value2;
It displays all three values the top call returns correctly so it seems to be an array.
I can't even do this:
return Value2.length;
In all cases I get the error "Value2 has no properties"
Thanks
The return from the efs being called is:
return new Array(dKeltnerBasis + (nRangeFactor * dATR), dKeltnerBasis, dKeltnerBasis - (nRangeFactor * dATR));
I'm calling it like this:
Value2 = call("gmd/KeltnerAtrEmaAdj.efs", 16, 1.3);
and trying to reference like this:
return (Value2[0]);
If I simply do this:
return Value2;
It displays all three values the top call returns correctly so it seems to be an array.
I can't even do this:
return Value2.length;
In all cases I get the error "Value2 has no properties"
Thanks
Comment