[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Brug af flags i funktioner



> From sslug@sslug  Mon Apr  8 01:12:37 2002
> Subject: Re: [CPROG] Brug af flags i funktioner
>
> Michael Westergaard <sslug@sslug> writes:
>
> > Test om et flag er sat:
> > 
> > if (f & (~FLAG_1)) blah
>
> Det er forkert.
>

Det er korrekt (at det er forkert). Jeg ved ikke hvorfor jeg
taenkte paa at resette bits.


-- 
   _______
  /       \    Michael Westergaard <sslug@sslug>
 / /|/|  \ \   http://klafbang.dk/
( ( ` |   ) )
 \ \  |/\/ /   Assembler? Nej tak, jeg har ikke brug
  \_______/    for noget RAD værktøj.


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *