On Sun, 19 Oct 2003, Ken Pergola wrote: > const char SOME_TEXT[] = { "Some text\r\n"}; > prints (SOME_OTHER_TEXT); That triggers the compiler to not use string packing, since the string is now in an array rather than being a string literal. > (Also, the 'NULL' label is intrinsically recognized by the C compiler.) NULL is defined in stdio.h; it's not a keyword that's recognized by the compiler. > while( *string != NULL ) NULL is normally used for comparison with a pointer, not a char. Some versions of PICC define it as ((void *)0) which wouldn't even permit the above code to compile. -- John W. Temples, III -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads