From: "Chris Tutty" <[EMAIL PROTECTED]>
> From: "druid" <[EMAIL PROTECTED]>
> > Here's a better way that has error checking, default processing and
takes
> > advantage of a unique feature of the PalmOS "StrNCat()" function to
> prevent
> > stack corruption:
> >
> Are you sure it's StrNCat you want and not StrNCopy?  I'm just
> asking because the old version copied to text so you seem to
> have changed the way the function works.
>
Ah, my mistake, I didn't realise that Roger had stepped in and
rewritten your function (of course if I'd actually read the whole
function I'd have seen that).

And he's added a technique for handling the missing fields.
Yeesh, I should just go back to bed.

Chris Tutty


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

Reply via email to