Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preprocessor question
Message
From
17/07/1999 11:58:23
 
 
To
17/07/1999 10:37:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00242727
Message ID:
00242742
Views:
26
>Hello,
>I'm working with VFP 6.0, and I want to use a header file according to the country version of my program. This would look like following code:
>USE SysVar
>DO CASE
>CASE SysVar.Country = "CURACAO"
> #include Curacao.h
>CASE SysVar.Country = "ARUBA"
> #include Aruba.h
>ENDCASE
>
>However, does the preprocessor work this way? I fear, it will not open the table by compiling.
>The idea is to have different versions of a program without changing anything in the code. I only want to change the "Country" field in my SysVar table.
>Is this possible?
>Thank you for your time!

Look at #IF
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform