On Sun, 24 Sep 2000 07:30:43 -0700, Paul Bohme
<[EMAIL PROTECTED]> wrote:

>
>  Attributes is a bunch of flags, so after your DmDatabaseInfo do a bitwise
>OR to check the value of the dmHdrAttrOpen bit, e.g.:
>
>if(attributes | dmHdrAttrOpen)
>{
>   // Something to do if db is open.
>}

Shouldn't that be a logical AND?  A logical OR would always return
TRUE...

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to