I tried this code:
a as boolean
a = 1
if abs(not a) = 1
print "not a = 1 ,"; abs(not a)
else
print "not a = 0 ,"; abs(not a)
endif
a = 0
if abs(not a) = 1
print "not a = 1 ,"; abs(not a)
else
print "not a = 0 ,"; abs(not a)
endif
wait mouse
and the output was
not a = 1 ,1
not a = 1 ,1
Not what I expected. The not operator returns a negative 1 for a, so I had to use the abs() function.
I wanted to use DBPro for my homework assignment by testing out boolean expressions for equivelancies but I guess I'm not going to be able to.
My suggestion is "take your time with patch 2. Get it right before you release it. DBPro needs to be useable and reliable for me to even consider using it for anything remotely important."