At 08:09 AM 3/19/02 -0600, you wrote: > > printf(lcd_putc,"value in memory is %02x",NUMBER); > >Now I'm confused. Do you mean fprintf? If so, what C compiler are you >using where a FILE * is the same as a function pointer? Or does your >compiler have a "different" implementation of printf that can take an >"optional" first argument specifying a putchar type routine to be used for >the output? Isn't this a good argument for more standardization in C compilers? I've got nothing against them implementing a function like this, but calling it printf is not right. Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com 9/11 United we Stand -- 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