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:
00885990
Views:
8
Thanks,

What i'm trying to do is setup different .h file path for different builds (Dev, Test and prod) Anyway, i found another way to do it.


>#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
>>
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform