>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only