Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#DEFINE question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00502085
Message ID:
00502108
Vues:
19
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform