Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programming structure
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01081826
Message ID:
01082437
Vues:
7
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform