Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optional number of parameters and protected procedure
Message
 
 
To
04/01/2007 14:57:47
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01182425
Message ID:
01182498
Views:
44
>Like I said, I'm not there, so I guess I don't see the whole problem. Don't you have to prepare the parameters themselves? If you don't know the function of the parameters, then how do you know that what you are sending makes any sense to the receiving method?

Alan,

In a form manager class I have a method to call a form object defined as a class. The method is called DoForm. This is my colleague's method and originally it had only one parameter - the name of the class. This means, that the form is always invoked without parameters.

I used to have parameters in form's Init, so I thought I add the functionality based on a similar code of DoForm function in MereMortals. And I did it using one extra parameter.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform