Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single exit-point
Message
 
À
03/04/2002 10:01:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00640316
Message ID:
00640346
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform