Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
General Questions about #Include statements
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00858377
Message ID:
00858560
Vues:
24
>Thanks for all the wonderful replies. I feel like I have a better handle on things and plan to tackle the changes first thing in the morning.
>
>
>To be perfectly sure I understand- If I make a master include file to call my other header files and set the master include file as the include file for the form this will take care of the entire form.
>

Yes. We only have two major include files for our program. One that contains #DEFINE for basicly global things. like #DEFINE cc_crlf CHR(13) + CHR(10) then we have another one that contains our custom event calls. So for example we have a #DEFINE cn_Save 6530 which all our programs call the process flag with the same save flag. So when we create a new form that needs some extra #DEFINES we will create an include file with the same name as the form and the first two lines in it will be #INCLUDE global.h AND #INCLUDE flags.h then we define the other #DEFINE for the form. Then we attach the include file with the same name as the form and both the global.h and flags.h are included.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform