Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single exit-point
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00640316
Message ID:
00640481
Vues:
28
>>>Hi Sergey,
>>>
>>>>< pre >
>>>>Or even shorter
LOCAL llresult
>>>>llresult = .T.
>>>>llresult = llresult And StepOne()
>>>>llresult = llresult And StepTwo()
>>>>llresult = llresult And StepThree()
>>>>
>>>
>>>How about,
>>>
llresult = StepOne() AND StepTwo() AND StepThree()
>>Return llresult
>>
>>
>>OR
>>
RETURN StepOne() AND StepTwo() AND StepThree()
>>
>>:-)
>
>BTW, how about
>
>
RETURN StepThree(StepTwo(StepOne()))
>
>:)

This version is incorrect, unfortunately... :) You would have to call each method and you would have to check for parameters passed...
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