> There isn't a standard #define for this case. > > BTW, this will generate smaller code, since it only dereferences the > pointer once: > > char c; > > while ((c = *string) != 0) { > putch(c); > string++; > } Wow, that's pretty neat, saved 16 words of ROM with that change... got any other "tricks of the trade" for reducing code size!? :) Thanks, TTYL -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics