Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#INCLUDE Files
Message
 
 
À
26/07/2001 11:34:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00535771
Message ID:
00535786
Vues:
18
Hi!

To affect all classes, just recompile them with new include file setting.
Good point about main include file that have a set of #INCLUDE commands for all other include files. #INCLUDE in #INCLUDE is possible.

>>I am working on a new set of classes for my company based on ADO and need to include adovfp.h in my forms and some prg's. I am trying to figure out the scope of include files.
>>
>>It seems that I have to include it in the top of every routine that I need to reference a constant defined in the .h file before using it.
>>
>>Is there a way to make these global? I would like to include this file 1 time in the startup of my program and be done with it if possible.
>>
>>As always... Thanks...
>>Tommy
>
>Tools | Options; Files - there is an option for a global include file. I think it will only affect new classes you create, not existing ones.
>
>For a form or class: Form | Include File (or Class | Include File).
>
>I recommend to have a main include file, softwareplus.h, that makes references to your other include files. Thus, to add additional include files, you only need to change softwareplus.h (and recompile all).
>
>Hilmar.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform