Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single exit-point
Message
 
To
03/04/2002 10:01:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00640316
Message ID:
00640346
Views:
13
Hilmar,

if you have to process more than one or two lines of code in each step, this might be an (ok, a little unusual) option. As long as your single step functions return .T., the next function is run. If all functions return .T., OTHERWISE is the last step.
DO CASE
   CASE NOT DoFirstStep()
      llSuccess = .F.
   CASE NOT DoSecondStep()
      llSuccess = .F.
   CASE NOT DoThirdStep()
      llSuccess = .F.
   OTHERWISE
      llSuccess = .T.
ENDCASE

*-- Clean up

RETURN llSuccess
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform