At 10:00 AM 15/3/2002 -0800, you wrote:
>I've become confused about Attributes. I want to test if a record is in a
>Category.
>
>The following does not work:
>    DmRecordInfo(pDB, pRecordID, &Attributes, null, null);
>    if ((Attributes && dmRecAttrCategoryMask) = CurrentTableCategory) {
>     <<Record is in Category>>
>    }
>
>What is the proper test condition?
>
>Blair Kingsland

Try a bitwise 'and' (&) and a test for equality (==).

Matt


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

Reply via email to