On Tue, 15 Feb 2005, Per Linne wrote: > Is there a reason you can't use: > > void putrsUSART(const rom char *data) > { > do > { // Transmit a byte > while(BusyUSART()); > putcUSART(*data); > } while( *++data ); // <<<<<<<< > } > > ? That code fails if the first character is NUL Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist