Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCOPE TO WHAT
Message
 
À
21/03/1997 14:51:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00025094
Message ID:
00025232
Vues:
36
>>>I know what you mean by public variable ... so do you mean like this: ?
>>>
>>>PUBLIC oApp
>>>oApp=CreateObject("app")
>>
>>YUP! (s)
>>Tom
>
>Thanks!!!
>
>But for a general discussion. I am creating a Environment Class because I don't want to have to track my Public Global Variables such as m.g_username, m.g_usercode, etc..
>
>Now I still have to track a Public variable (object), "oApp". What did I really accomplish? Is it that I'm only tracking one Public variable (oApp) instead of many (m.g_username , m.g_usercode , m.g_userdefaultdrive, etc.) since these are now properties of oApp.
>
>So what did this OOP really accomplish? (Although just printing out vcx's is a heck of a lot easier then tracking were variables are defined and initialized in the old way of programming.)
>
>Thanks again for your answers.
>Gene Berger
>Nationwide Warehouse & Storage
>Columbus, OHIO

In a simple Nutshell one public var is all you need. The rest can be properies of oAPP.

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform