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:
00640388
Vues:
20
< pre >
>Hilmar,
>
>As with everything else, there are, as you and Armin have demonstrated, a number of ways to handle this situation. Assuming there are three steps, you could
LOCAL llresult
>llresult = StepOne()
>IF llresult
>  llresult = StepTwo()
>  IF llresult
>    llresult = StepThree()
>  ENDIF
>ENDIF
>* Clean up
Or even shorter
LOCAL llresult
llresult = .T.
llresult = llresult And StepOne()
llresult = llresult And StepTwo()
llresult = llresult And StepThree()
< snip >
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform