On Mon, Nov 26, 2001 at 07:26:04PM -0200, J�lio F�bio de O. Chagas wrote:
> Hello,
> U can use my generic parse function.
> /*
>
> Char * Token(Char *buffer, Int16 bufferLen, Int16 token, Char chrToken)
> {
> Char *target;
[snip]
> target = (Char *)MemPtrNew(sizeof(Char)*bufferLen);
[snip]
> MemPtrFree(target);
> return target;
> }
Think twice about using this code. It returns a pointer to a memory
location which has been freed.
scott
--
------------------------------------------------------------------------
scott [EMAIL PROTECTED]
------------------------------------------------------------------------
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/