On Sun, 3 Oct 2004, WH Tan wrote: > I noticed that the definition of the function is > > void putrsUSART(const rom char *data) > > I thought that I may 'save' some typing since it is same across "const rom" and just only "rom". I read through the C18 user's guide again and find no answer. Would you point me please? The type of a string literal is documented as "const rom char []", so I would not drop the "const." Note that the compiler appears to have a defect in that an incorrect cast will suppress a type mismatch warning when passing a pointer to "const rom char *". You can always use a typedef if you want to save some typing. -- John W. Temples, III _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist