[answered] __DATE__ etc is there a list?

I've stumbled across a few of these things DATE. FILE etc but don't know what they're called, so don't know what to search for, but is there a list of these?

meltDown:
I've stumbled across a few of these things DATE. FILE etc but don't know what they're called, so don't know what to search for, but is there a list of these?

A search on Google for DATE. FILE says they are predifined macros.

https://gcc.gnu.org/onlinedocs/cpp/Predefined-Macros.html#Predefined-Macros

--- bill

A list

There's also __PRETTY_FUNCTION__, which is great for debugging.
It's not a preprocessor macro though, it's a string (static const char ) provided by the compiler, not by the preprocessor.

Pieter

Thanks everyone.

PRETTY_FUNCTION and FUNCTION (which I tried for the hell of it and it works too) are now my goto (if you'll pardon the expression :wink: ) debugger...

bool debugFunctions=1;
...
...
if (debugFunctions){Serial.print("Now in ");Serial.println(__PRETTY_FUNCTION__);}