On Thu, Sep 17, 2009 at 18:15:21 +0200, Marco Trevisan (Treviño) wrote: > Hello I'd need to make some bitwise checks on a variable, but doing > something like: > > if (condition & MyClass.ENUM_VALUE_1)
if ((condition & MyClass.ENUM_VALUE_1) != 0) Elementary, dear Watson ;-) -- Jan 'Bulb' Hudec <b...@ucw.cz> _______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list