Option __FILE__ for compiler HC12

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Option __FILE__ for compiler HC12

Jump to solution
1,221 Views
DavidSouche
Contributor I

Hi,

 

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.

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
591 Views
CompilerGuru
NXP Employee
NXP Employee

I'm not aware of an option for this purpose.

I have to admit that I did look for the same topic in another compiler once too :smileysad:.

(I did not find it there either).

 

Daniel

View solution in original post

0 Kudos
Reply
1 Reply
592 Views
CompilerGuru
NXP Employee
NXP Employee

I'm not aware of an option for this purpose.

I have to admit that I did look for the same topic in another compiler once too :smileysad:.

(I did not find it there either).

 

Daniel

0 Kudos
Reply