How to mix integer/boolean expressions...

Jul 30, 2010 at 8:00 PM
If I try to evaluate the following, I get a Int32 to Boolean error: (0xF0 or 0x0F == 0xFF) Shouldn't it return "True"?
Jul 30, 2010 at 8:39 PM
Ah, nevermind have to do (0xF0 or 0x0F) = 0xFF this wont work: 0xF0 or 0x0F = 0xFF It tries to evaluate the 0x0F = 0xFF first then or an integer with a boolean. aghhh.