getFileName()??

I searched around for something that will let me get the file name of the program currently running on an Arduino but all I found pertained to the SD card, I believe

Basically, is there a way to get the file name of the sketch from inside the sketch? I want to be able to call the version number from serial. I know I can simply define a string but I always forget to update that string to the new version every time I edit the file. It would be much simpler to pull it from the file name itself.

Thanks

FILE is the usual predefine.

Awesome!, thanks

is there a list of other pre defines? I don't see them mentioned in the reference, or is that a general C/C++ thing?

Never mind, I found them
for others FYI

Although I have not tried them all.