Go Down

Topic: Arduino Boolean OR (Read 421 times) previous topic - next topic

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).



It is also the *logical* OR, it works on the whole value. The | operator is the bitwise one.

thanks for clearing that up fellas

Go Up