Thanks for the help. Actually I'm already using 0 to represent something, so I think I'll just use the SPECIAL_ID idea, since I'm pretty sure uniqueID's never get above about three bytes in value.
"David Eyler" <[EMAIL PROTECTED]> wrote in message news:94901@palm-dev-forum... > > 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/
