Quote:
Originally Posted by fysiks
Yeah, but the result of (var == 3) will not necessarily be 1 or 0. If it's true it could be 34. This is the way I understand it but maybe I am wrong.
|
Can you provide an example proving your theory? Because as far as I know the result of (x == y) will always be true or false (converted to int it will always be 1 or 0). The same goes for other logical operators.
__________________