BITAND function? Trying to use BITAND in variable address. BITAND 0x080 works but not BITAND 0x100 or above? Works in Cicode and graphics. Any ideas?
BITAND function? Trying to use BITAND in variable address. BITAND 0x080 works but not BITAND 0x100 or above? Works in Cicode and graphics. Any ideas?
Have you tried an expression like (tag BITAND 0x0200) > 0 ? This may alleviate the limitation of coercing a value > 255 into a digital.
Have you tried an expression like (tag BITAND 0x0200) > 0 ? This may alleviate the limitation of coercing a value > 255 into a digital.
Great suggestion. I would use (tag BITAND 0x200) <> 0 however to prevent problems with the 15th bit being interpreted as the integer sign flag.
Thanks Stuart that seems to work. I used Patricks suggestion as i might need all bits. Much easier using address then adding extra cicode. And can also populate via equipment module. Thankyou
Thanks Patrick for your suggestion. That seems to work.
I had tried something similiar earlier but without the brackets which confused it.