Michel.P wrote:
This is sort of basic but no one else said anything so I want to make sure you know this.Hi Henk,I thought one couldn't copy a null string using StrCopy(): I tried that before posting my question (but usting '\0' instead of "\0") and it gave me an error, and I believe someone in another post said that you can't StrCopy() null....?
'\0' and "\0" are 2 different things.
'\0' evaluates to type (char) with value 0.
"\0" is a type (char *) with value "\0".
If you tried passing '\0' to any string functions, it would probably not work, because it would be like passing a null pointer as a parameter.
Matt
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
