Hi Ashley
I want to use ternary operator with 'boolean variable'. How to proceed?
Example with number variable:-
is_num=99?56:45 (it works)
but with boolean variables:-
is_ok=true?45:90 (it doesn't works. it does not even identify 'true')
Develop games in your browser. Powerful, performant & highly capable.
You can use 1 and 0 for true/false
Thanks a lot for the reply