Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optional number of parameters and protected procedure
Message
 
 
À
04/01/2007 14:57:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01182425
Message ID:
01182498
Vues:
45
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform