Version 2.29 and 2.30 Qscript errors
Posted: Sat Jun 10, 2017 2:15 pm
Hi,
I have noticed that since 2.29 (not sure if it was present slightly beforehand), but when I compile known working qscripts, I get various errors complaining about the math.
It seems that when a -1 is involved in the calculation, that seems to trigger the error:
Changing c3 to just be '-a1 + a1' also triggers the problem.
I have noticed that since 2.29 (not sure if it was present slightly beforehand), but when I compile known working qscripts, I get various errors complaining about the math.
It seems that when a -1 is involved in the calculation, that seems to trigger the error:
The following simple code demonstrates the problem:ERROR: Illegal math expression. (Line2)
Code: Select all
a1 = exp( -1 * 1.41 * 3.14 / 13 ) ;
c3 = -1 * a1 * a1;