Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MESSAGEBOX
Message
 
À
04/05/2000 11:14:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00365597
Message ID:
00366130
Vues:
16
>What I would do is define my constants and place them into my oSys object, which as it is passed around makes the DEFINE values & names available for every routine.

Would that work? The contants get handled at compile time and need to be available then.

I create a top level .h file with the app name like MyApp.h. Then set this as the default include file. Now I never have to worry about adding it to classes and such.

I then just #include any other .h files I need in MyApp.h and any app specific #defines go in there as well. That way they are always available. Worked so far, but I'm open to other ideas.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform