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

Click here to load this message in the networking platform