Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing Header File Constants Throughout an Applicat
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00122367
Message ID:
00122538
Vues:
9
>Greetings!
>
>I'm following the example in the TASTRADE project regarding the inclusion of header (.H) files with defined constants. In the program I have set as Main, I have an #INCLUDE statement, referring to a header file in my project.
>
>In the header file, I have one #DEFINE statement so far. The problem I am experiencing is that the #DEFINEd constant can only be recognized in the Main program, and not any other routines, such as in a custom class containing library functions.
>
>I checked the TASTRADE project, and its constants are being referenced globally. So, why is my program malfunctioning, and what can I do to correct it?
>
>Thank you!
>
>Michael Reynolds

Note that VFP 6.0 has a new _INCLUDE varible that lets you define a header file that will automatically be included.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform