Hi All - I have the following javascript code and can't seem to get
it to output a true boolean value no matter what I try, I just know
its something dumb but can't see it - any idea's?
function (__number outputNumber, __boolean change ) main (__number
inputNumber, __number threshhold)
James. I've got to hand it to you. You are my all-time hero for
finding the most obscure QC Bug __EVER__ :)
Here's the quick fix: remove the space between "change" and ")" in
the function declaration. That space causes QC's Javascript machine -
> QC Output mapper to freak out and try to find an output named
"change " instead of "change".
Also to note (while playing with this, seeing what was happening),
placing the following line before the real main function causes it to
generate a parse error (again, the space between "outputNumber" and
")" is the culprit):
//function (__number outputNumber ) main (__number inputNumber[2])