Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#DEFINE and #INCLUDE
Message
De
26/05/1999 11:16:56
 
 
À
26/05/1999 11:12:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00222951
Message ID:
00222956
Vues:
18
>I have a .h file that creates all of the Word8 VBA constants using #DEFINE. I also have many methods in a custom class that attempt to use one or more of these constants. Do I have to #INCLUDE the .h file in every method that uses these constants? Or is there a way to make these constant definitions "public"?

Alan,

From the CLASS menu option, select INCLUDE FILE and pick it from the ... button. This will include it for the class as a whole and make it available to all methods.
regards

Ian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform