Oxygen Basic
Programming => Problems & Solutions => Topic started by: José Roca on October 03, 2018, 05:37:57 PM
-
What these operators do? By exclusion, I thought that they were bitwise Xor operators, but print 200 ^^ 184 prints 0 instead of 112.
-
^ is the power operator (you have to use xor for bitwise xor operations)
but ^^ is a boolean xor
also implemented:
|| boolean or
&& boolean and