http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Function-Names.html __FUNCTION__ and __PRETTY_FUNCTION__ do what you want, I think. -- Tom Emerson Basis Technology Corp. Software Architect http://www.basistech.com "You can't fake quality any more than you can fake a good meal." (W.S.B.)