Hello I'd need to make some bitwise checks on a variable, but doing
something like:

 if (condition & MyClass.ENUM_VALUE_1)
   condition |= MyClass.ENUM_VALUE_2;

outputs me: "error : Condition must be boolean".

How to continue?

The same problems happens using the bitwise or (|).

Thanks.

PS: I'm just new to Vala :P


_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to