I've been using negative one to represent a special value with unique IDs,
which are UInt32's.  Does anyone know if it is 100% reliable to count on the
code below to work right?

UInt32 recID = -1;
if (recID == -1) {
    //should be in here
}

I know when I look in the debugger and I set a unsigned Int to -1 it shows
up as one less than its maximum value, not -1.  Thanks.



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

Reply via email to