Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters to a function
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01365569
Message ID:
01365951
Vues:
17
>>>
>>>I asked the exact same question about a year ago. The suggestion was to use the generic parameter object.
>>>
>>>I think this is the thread Re: Optional number of parameters and protected procedure Thread #1182425 Message #1182500 (you can start from that message down)
>>>
>>>BTW, in MereMortals DoForm method uses case statements for number of parameters....
>>
>>Thank you, Naomi. I will follow the recommended message.
>
>Just one more vote for the parameter object Re: Multiple Return Values Thread #590869 Message #590888

Cetin's point that I will have to change all my forms by adding a PARAMETER to their INIT makes the parameter object not practical for my case. For sure I will use parameter object in some other places where it will be part of the framework. But for now I had to go with Cetin's DO CASE suggestion.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform