>Just tested it: It worked for me in an EXE made up of a PRG with that as the first line. Hmmmm......
Gonz,
Try it with a DATETIME() instead. The constant is evaluated at runtime.
Why not just grab the last modification date? That should be the desired value.
>>I would like to create a constant that represents the date a program was compiled on.
>>
>>The following does NOT work:
>>
>>#DEFINE COMPILE_DATE DTOC(DATE())
>>
>>
>>Can it be done?
>>
>>TIA,
George
Ubi caritas et amor, deus ibi est