On Mon, 12 Jun 2006 20:53:49 +0200 Micha Nelissen <[EMAIL PROTECTED]> wrote:
> Alain Michaud wrote: > > Hi, > > > > excuse my lazyness. Is there a FAST way to do a bit operation like: > > > > if ((aword and $0200) = $0200) then dosomething; > > What's not fast about this ? A little bit faster: if ((aword and $0200) <> 0) then dosomething; > Btw, sets are nicer, more readable, and just as fast. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives