Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Constants and SYS(5) + SYS(2003)
Message
From
22/09/1999 15:31:43
 
 
To
22/09/1999 15:26:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00267724
Message ID:
00267739
Views:
27
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform