Hey. Is there any known issues with the conditional statement below:
var myVar = (x>y) ? true : false;
I can’t seem to get the conditional test to work. Keeps bonking on the “?” character in the debugger.
- Erik
Hey. Is there any known issues with the conditional statement below:
var myVar = (x>y) ? true : false;
I can’t seem to get the conditional test to work. Keeps bonking on the “?” character in the debugger.
Use an if instead. The ? operator isn’t implemented yet.
… and btw… the above statement is equivalent to
var myVar = x>y;
No need to do if.
Thanks guys!