Quick question about the || operator
is it exclusive (X-OR)? or is it standard, i.e. one or the other or both?
Quick question about the || operator
is it exclusive (X-OR)? or is it standard, i.e. one or the other or both?
It's inclusive (standard).
Pete
It is also the logical OR, it works on the whole value. The | operator is the bitwise one.
thanks for clearing that up fellas