Program Version variable increment!

Hi, i was wondering if there is a way to have a (system?) variable increment each time that i compile my program

Thanks Patgadget Montreal

Will either of these macros help...

__DATE__ 
__TIME__