AnsweredAssumed Answered

Option __FILE__ for compiler HC12

Question asked by David SOUCHE on Aug 10, 2009
Latest reply on Aug 11, 2009 by CompilerGuru



I'm a french software designer. I work in embedded system for lift.


I develop on a Freescale MC9S.

In my soft, I use option __FILE__ of compiler HC12. This option give me the complete path of my file, but I just want the name of my file and not the path. 

Is there another compiler option to get the short name of a file?


Thank you.