Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local variables
Message
 
To
01/09/2000 08:42:00
Robert Arnett
Saints Software and Systems
Kosciusko, Mississippi, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00410962
Message ID:
00411739
Views:
16
Bob,

I would say that it really depends on the scope you need for that piece of data. If you only need it for one method, it is better to just use a LOCAL variable. If you need it for the life of an object (like a form), then I would use a property of the form.

In your case, if you need it for the life of your BizObj, it should be a property of the BizObj. That way, if you ever need to instantiate your BizObj as a COM object, your property will exist with your BizObj instead of relying on the FoxPro form to exist.... which it may not when using a COM object.

>Thanks Doug
>I seem to be getting the hint that where I used to do Public/Private, we now use the properties. Is that the way to handle variables? Thanks Bob A

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Previous
Reply
Map
View

Click here to load this message in the networking platform