Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Local vs private
Message
De
11/08/2005 09:33:18
 
 
À
11/08/2005 05:42:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01039725
Message ID:
01040202
Vues:
21
I think declaring it PUBLIC could be risky. If you run your application in the development environment, it will still be there when Main.prg terminates. If declared PRIVATE, it is released. Since I never use RELEASE ALL inside an application, I don't have to worry about it being released prematurely.


>Good point. But, as you say, this could make Craig's choice of using a PRIVATE variable potentially more risky.
>Regards,
>Viv
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform