Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Constants and SYS(5) + SYS(2003)
Message
De
22/09/1999 15:31:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00267724
Message ID:
00267739
Vues:
26
I'm getting "kgNow" as a result. The precompiler will not replace constant inside quotes. The following will work:

#DEFINE kdNow DATETIME()
lcDate = kdNow
?lcDate
>#DEFINE kdNow DATETIME()
>
>lcDate = "kdNow"
>
>?lcDate
>
>I'm getting the evaluated datetime not the string. But it changes every time I run it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform