Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's the DEFINE scope?
Message
De
04/07/2005 17:58:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
What's the DEFINE scope?
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01028851
Message ID:
01028851
Vues:
65
Hello,

I have a constants .h file.
And I need those constants to be avaible from every single object. Everywhere.

Yes, I've saw _INCLUDE, but it seems doesn't work as I've expected. COnstants are now recognized from iside the object.

So, I have :
a constants.h file
a cst class that's a custom subclass, and many other subclasses with many methods each.

I want to be able to use those constants there.

Do I need to type #Include in every method? What's the best solution?

Thanks in advance!
Pablo S.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform