Is it possible to have a function automatically contain the line number and the file that the function was CALLED in,
as if i call __LINE__ or __F
__LINE__
__F
Doing what you suggest doesn't seem to work.
You can do it like this, but I'm not sure why you want to do it and that there isn't a better approach to what you are trying to achieve - see Wrikken's answer.