Oxygen Basic
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Latest OxygenBasic.zip at GitHub
(Click on the Wizard)
Home
Help
Search
Login
Register
Oxygen Basic
»
Programming
»
Problems & Solutions
»
Operators ^^ and ^=
« previous
next »
Print
Pages: [
1
]
Author
Topic: Operators ^^ and ^= (Read 1107 times)
0 Members and 1 Guest are viewing this topic.
José Roca
Guest
Operators ^^ and ^=
«
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.
Logged
Charles Pegge
Guest
Re: Operators ^^ and ^=
«
Reply #1 on:
October 03, 2018, 06:37:50 PM »
^
is the power operator (you have to use
xor
for bitwise xor operations)
but
^^
is a boolean xor
also implemented:
||
boolean or
&&
boolean and
Logged
Print
Pages: [
1
]
« previous
next »
Oxygen Basic
»
Programming
»
Problems & Solutions
»
Operators ^^ and ^=