Mike Yearwood
Toronto, Ontario, Canada
>>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.
There is nothing "better" about a public property on a public object than a public variable. Making the properties non-public with get/set methods or access/assign is the only thing that would make it better.
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