>Subject: variables overwriting each other.
>From: Jaydee <[EMAIL PROTECTED]>
>Date: Wed, 16 May 2001 10:21:06 -0700 (PDT)
>I'm having some really weird stuff going on with
>character pointers and UInt arrays:

>  Char * working;
>  UInt16 done2[25];
>//snip
>  StrToLower(working,word);
>  len = StrLen(working);
>  for (i=0;i<25;i++) done2[i]=0;

This is not weird but a natural and normal consequence of a
bug in your code.
The variable 'working' is an unassigned pointer, which you
appear to write to without assigning any memory to it. 

Roger Stringer
Marietta Systems, Inc.


-- 
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