Quote:
Originally Posted by JustBreathe
temp.var = temp.var2 = temp.var3 = true;
is the same as
temp.var = ( temp.var2 = ( temp.var3 = true ) );
temp.var = ( temp.var2 = true );
temp.var = ( true );
if ( temp.var )... Temp.var would return true.
|
So if you want it to return the value of the variable that you are assigning to, why did you not just say so?