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')
You can use 1 and 0 for true/false
Develop games in your browser. Powerful, performant & highly capable.
Thanks a lot for the reply