in reply to variable set to 0 ? 0 : 1
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: variable set to 0 ? 0 : 1
by BrowserUk (Patriarch) on Sep 08, 2002 at 02:47 UTC | |
by blakem (Monsignor) on Sep 08, 2002 at 04:10 UTC | |
by Aristotle (Chancellor) on Sep 08, 2002 at 05:18 UTC | |
|
Re^2: variable set to 0 ? 0 : 1
by Aristotle (Chancellor) on Sep 08, 2002 at 04:35 UTC | |
|
Re2: variable set to 0 ? 0 : 1
by blakem (Monsignor) on Sep 08, 2002 at 01:44 UTC |