> From: Nick Torenvliet [mailto:[EMAIL PROTECTED]]
> DateToday is a DateType structure.
> The recurring values I get after debugging [...] are
>
> DateToday.day = 24
> DateToday.month = 1
> DateToday.year = 55
The debugger is lying. It has a bug where it can't correctly display the
contents of bit fields. (At least R6 for Windows has this bug; don't know
about Mac.) If you really need to examine a DateType variable in the
debugger, you'll need to copy its values into separate variables and examine
those. Or get really good at bit twiddling in your head.
(Anybody got an old HP-16C for sale? :-)
> When I do a similar operation for a DateTimeType, everything
> works well.
Right, because DateTimeType is made of full Int16 data members instead of
bit fields. Debugger has no problem displaying it.
-slj-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/