"Scott L. Johnson" wrote:
> > From: DCU [mailto:[EMAIL PROTECTED]
> > is the palm function MemSet supposed to do anything?
> > I found that it did nothing and I had to write my own
> > function to do what MemSet is supposed to do.
>
> MemSet() works exactly as documented.
IMHO this is one of the most broken parts of the API. Yes, it works
"exactly as documented". There is however, something commonly known
"broke as designed" (BAD).
The last two parameters are reversed from the standard C library. I shudder
to think how many hidden bugs are lurking out there because of this.
I'd really like to see this function renamed in some future release of PalmOS.
I think renaming it would prevent some confusion. MemFlood() ?
--
Adam Wozniak Senior Software Design Engineer
Surveyor Corporation
[EMAIL PROTECTED] 4548 Broad Street
[EMAIL PROTECTED] San Luis Obispo, CA 93401
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/