Open bracket expected Citect Scada 6.1 o 7.4

Hello, when I compile my project, this message "Open bracket expected" appears and in another error, "Incompatible types" appears. I am using Labels to insert an expression and then use it in Advanced Alarms. In the Label I use the expression ((Test1 BITAND 512) <> 0) where Test 1 is a UINT variable in IODev. and then I use it in the advanced alarms in the RegTempAlarm = 0 expression. Does anyone know how to fix it? Thanks