Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCOPE TO WHAT
Message
From
21/03/1997 14:51:31
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00025094
Message ID:
00025222
Views:
33
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform