Um.. I do not think so, I think it just assigns the value.
I'm fairly sure from most of what I've been reading recently on programming that the expression is calculated, then if it doesn't result in a 0, it's treated as a true statement. (In C, at least; you may be correct for other languages.)
If I am incorrect on this, please point me to the appropriate documentation so that I might learn more.