Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Constants and SYS(5) + SYS(2003)
Message
From
22/09/1999 15:26:27
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00267724
Message ID:
00267728
Views:
18
>In my H-file, I have the following:
>#DEFINE		DEFAULT_APP_TREE	SYS(5) + SYS(2003)
>#DEFINE		DEFAULT_DRIVE		SYS(5)
>I fairly certain this is working correctly, but I am looking for some re-assurance. When I compile, the SYS(5) + SYS(2003) is being substitued for all occurrences of DEFAULT_APP_TREE as opposed the current evaluation of SYS(5) + SYS(2003). Right? In other words, on my development machine, this would evaluate, at runtime, to D:\Apps\DFS. On my users, it could evalute to C:\Apps\DFS.
>
>TIA!

I tried this.

#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