I just discovered that there are at least 2 bit testing operators:
& |(the pipe character) for DBC.
I have looked and looked but have not found any documentation indicating that they exist. Does anyone know if these are the only ones or if there are others? Here's some code I ran to test that these were indeed binary AND and OR:
set display mode 800,600,16
Print "& = bitwise AND operator"
Print "2 & 8 = ";2 & 8
print "Binary:"
print bin$(2)
print bin$(8)
print bin$(2 & 8)
print
Print "| = bitwise OR operator"
print "2 | 8 = ";2 | 8
print "Binary:"
print bin$(2)
print bin$(8)
print bin$(2 | 8)
print
Print "& = bitwise AND operator"
Print "6584932 & 1237584 = ";6584932 & 1237584
print "Binary:"
print bin$(6584932)
print bin$(1237584)
print bin$(6584932 & 1237584)
print
Print "| = bitwise OR operator"
print "6584932 | 1237584 = ";6584932 | 1237584
print "Binary:"
print bin$(6584932)
print bin$(1237584)
print bin$(6584932 | 1237584)
This link has some info...
http://forum.thegamecreators.com/?m=forum_view&t=30402&b=10
Enjoy your day.