Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Private Global Variable
Message
De
18/06/2002 10:15:05
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00669192
Message ID:
00669721
Vues:
16
Hi Jim:

I saw one of your threads on this, and I tried it, but still it seems the scope of the Global Object was not truly PUBLIC unless I declared it so...I'm going to give it another try because I agree it should work...thanks !



>Irv,
>
>Unless you do not have a READ EVENTS in your startup program there is no reason to declare your app object's var as PUBLIC. A PRIVATE will work just as well and is not over scoped. My point is that the major problem with PUBLIC is that people use it when they don't need it. Your example does not need a public at all (if it has a READ EVENTS in it).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform