Hi, flag = bitand(flag, bitxor(mask, -1));
Regards, Thomas On Fri, May 23, 2014 at 6:24 AM, Thomas <[email protected]> wrote: > So can you please give me a example ? > > > Am Montag, 19. Mai 2014 08:50:48 UTC+2 schrieb Thomas: > >> 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]. > 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. > -- 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.
