> workes like a charm... simple pointer operations. you could also do:
if ((startTime.hours == -1) && (startTime.minutes == -1)) would effectively be the same thing (probably more portable). however, looking at the comment in the header file - they say the time is treated as a UInt16 internally - so, shouldn't mess with it :) > "Aaron Ardiri" <[EMAIL PROTECTED]> wrote in message > > > > *((UInt16 *)&startTime) == noTime --- Aaron Ardiri PalmOS Certified Developer [EMAIL PROTECTED] http://www.mobilewizardry.com/members/aaron_ardiri.php -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
