Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programming structure
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01081826
Message ID:
01082437
Views:
8
>>>Put your constants in a header file and #INCLUDE it in every PRG that needs them.
>>
>>That could be a solution, thanks a lot. Or I can simply declare them inside LaunchAppAndWait and just move API declaration out.
>
>The benefit of using a header file is that in the future if you add or modify a constant you simple recompile and it goes everywhere.

That's true, thanks again. For this particular program I think I'll be fine with constants inside the program, but I would definitely use this approach in a future.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform