AnsweredAssumed Answered

Calculation doesn't work when setting variables

Question asked by ultranix on Mar 26, 2014
Latest reply on Mar 26, 2014 by philmodjunk

Title

Calculation doesn't work when setting variables

Post


     Hey, I have a problem.

     I have a complex calculation, in which many fields are repeated over and over again, so i simply replaced their names using:

     Let ([ o0 = calc::open;
     h0 = calc::high;
     l0 = calc::low;
     c0 = calc::close;

     (fragment of multiline formula)

     But then comes the problem - it doesn't display the right results for whatever reason. When I switch back to original fields, it works again. All the number fields are set to have "number" value, all text - to text, but still it doesn't work. Any ideas?

Outcomes