__FILE__

Preprocessor macro of the name of the source code file being compiled.

Syntax
__FILE__
  
Remarks

The compiler defines this macro as a character string literal value of the name of the file being compiled, or the name specified in the last instance of a #line directive.

Related information
__ASSEMBLER__
__COMPILER__
__COUNTER__
__TARGETARCH__
__VERSION_NUM__
__VERSION__
__cplusplus
__CWBUILD__
__CWCC__
__DATE__
__embedded_cplusplus
__func__
__FUNCTION__
__ide_target()
__LINE__
__MWERKS__
__optlevel
__PRETTY_FUNCTION__
__profile__
__STDC__
__TIME__