Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public and local variable of the same name?
Message
From
17/01/2008 16:40:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
17/01/2008 12:52:11
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01282432
Message ID:
01282808
Views:
10
>>>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.

There is. The uncluttered locals window in the debugger ;).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform