Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#DEFINE question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00502085
Message ID:
00502108
Views:
18
Yeah I'm doing that right now. I just wanted to see if there was a clever way it could be done with #DEFINE, since I couldn't think of one.

>>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,
Rip Ryness
International Falls, MN
Previous
Reply
Map
View

Click here to load this message in the networking platform