Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single exit-point
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00640316
Message ID:
00640388
Views:
19
< 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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform