> At 6:19 PM +0200 10/22/02, Aaron Ardiri wrote:
> > > '/0' or NULL too
> >
> >  where did you guys learn C? :) its '\0' :P
>
> And it's NUL, not NULL.  The former is a character, the latter is a
pointer.

  while, we are on the subject :P lets summarize :)

   str[index] = 0;
   str[index] = '\0';
   str[index] = NUL;

  :) or, you could just MemSet the string before you copy, and, it'll be
  there naturally *g*

---
Aaron Ardiri                               [EMAIL PROTECTED]
CEO - CTO                                                  +46 70 656 1143
Mobile Wizardry                             http://www.mobilewizardry.com/


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

Reply via email to