Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INCLUDE file
Message
From
17/04/2000 07:41:15
 
 
To
17/04/2000 07:07:34
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00360287
Message ID:
00360290
Views:
8
>Is it possible that form use another INCLUDE file with same constants but other values after some action? That is because of variety messages in my classes I defined in include file. Application is mentioned to be a international application with user option to change language on the fly. Problem is solved with one include file and many definitions and DO CASE and IF loops in definitions of my classes but of course it isn't nice and I won't accept that solution.
>
>Thanks in advance.

Do not do what you're suggesting. The include file definitions are resolved at compile time, not at runtime. You will not be a happy camper doing what you suggest.

You can change definitions and undefine things using #UNDEF, but again, this is all resolved at compile time, not at runtime.

>
>P.S. I am not looking for a third party product, but free piece of code.

Good luck - I'd have suggested that Steve Black's INTL is right on the money for this, but you think your time isn't worth what he's already implemented, tested and is willing to say works. Good luck.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform