Hi, Try bitand and bitor.
Regards, Thomas On Monday, May 19, 2014, Thomas <[email protected]> wrote: > Usuually it is easy to clear flags: > > flag = flag & ~mask; > > However, I miss the bitwise functions & and ~. > > I even thought about converting to a binary string and replace the > x.thposition by zero ad converting back to Integer. However, this is also not > possible quickly - no way to convert to binary string (not hex) and to > replace a character at position x. > > So, how can I clear a flag ? > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to > [email protected]<javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');> > . > To post to this group, send email to > [email protected]<javascript:_e(%7B%7D,'cvml','[email protected]');> > . > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
