i understand its use for return statements, but am a little unclear about other ways to use it (perhaps changing 1/0 to 'true'/'false' or some other manipulation of a variable?)
i was hoping some people would be willing to share some other examples/samples/instances using this operator is good/appropriate for
In reply to Re: variable set to 0 ? 0 : 1
by nmerriweather
in thread variable set to 0 ? 0 : 1
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |