At 09:34 PM 3/8/02 +0000, you wrote: >Hello everyone, Your compiler should be throwing all sorts of useful errors at you. strcat is defined as: char *strcat(char *dest, const char *src); So the second parameter MUST be a const pointer to char. Also, note that (char) day, where day = 1, does not give you '1', but rather 0x01 (^A or SOH, a non-printable control character). If you have the ROM space, sprintf is an easy way to do this, as Doug has shown, but you can often save ROM by writing the exact function you need yourself. 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: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads