>> > printf(my_lcd_putc, "Here is an integer: %d", d) >> Uhh, Bob, what compiler was this code for if Imay ask ? >I really don't know, but it had some strange way of passing a function as >the first parameter of printf to define a sink for the characters generated. >Wierd, huh? I have a memory for weirdness. That's CCS. The description is: "...fname is a function name to be used for outputting (default is putc is none is specified)." Apparently (from an example in the back) it will call the supplied function once for each character generated by printf. I guess it's a cheap alternative for not having sprintf. Barry -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body