Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#Include
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00885954
Message ID:
00885986
Views:
11
Stephane,

#include is a compile time thing, it can't evaluate a string.

If you have a SET PATH environment in place you should be able to just:

#include test.h


>Is there any way for this to work ?
>
>
>
>*-- c:\test\Test.h
>#define MyTest 1
>
>*-- Some program
>#define build_root "c:\Test\"
>#include build_root + "Test.h"
>? MyTEST && Error: Variable MyTest is not found
>
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform