> From: Todd Cary
>
> Richard -
>
> <<<
> itemList[year] = (char *) MemPtrNew(6);  // just enough for a year
> string
> >>>
>
> Why are 6 bytes reserved?  4 for the date (e.g. 2001) and 1 for the
> terminating "0".
>

That's David Fedor's code.  Maybe you should ask him!  (Perhaps he's
planning for the year 10000 or for the year -1000?)


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

Reply via email to