Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a class form
Message
 
 
To
14/11/2001 13:22:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00579966
Message ID:
00581866
Views:
26
>Not a bad idea at all. The only problem is that all calling procedures must know the name to use for the private variable. I offer a little variation:
>
>Local ldBirthdate
>ldBirthDate = GetDate(ldBirthDate)
>where GetDate is responsible for creating the private variable and instantiating the class. The class is still responsible for populating the variable.
>
>Programmers no longer need to know the name of teh variable to instantiate.
>
>Daniel


The programmer does not need to know the private variable. The class however does. Apart from wrapping things in a function, I don't see the difference..
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform