Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public and local variable of the same name?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01282432
Message ID:
01282569
Vues:
11
>>I see. But will it fundamentally change anything, to have a public variable vs. a property of _screen? Thank you for your suggestion.
>>
>
>In my opinion it's better than having a public variable. You can, of course, also just add a property to your global application object. That's the way it is supposed to be - only one global variable oApp (and it may be declared private in the main program) and the rest would be properties of it.

Thank you for the explanation and help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform