Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private vars
Message
De
01/06/2001 11:08:13
 
 
À
01/06/2001 10:34:00
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00513736
Message ID:
00513812
Vues:
20
And this also applies to methods...

>>>>>>>>>>>>>>>>>>>>>>>
No, the public var and the private var (if called from the main program) would only be visible to the app in which they are created. The difference comes when the variables are created farther down the call stack. Say prog1 calls prog2 which calls prog 3. A public or private variable created in prog1 would be visible in all 3. However if the variable is created in prog2, the public var would still be visible in all 3. The private var would only be visible in prog2 and prog3 (down the call stack - hidden from any program above).
>>>>>>>>>>>>>>>>>>>>>>>


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform