Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CASE statements
Message
 
 
À
23/10/2003 17:17:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00838740
Message ID:
00841892
Vues:
32
>local llSuccess
>
>llSuccess = .f.
>
>*-- I every step is completed, return .t.
>if firstStep()
>    if secondStep()
>        if thirdStep()
>            if fourthStep()
>                llSuccess = .t.
>            endif
>        endif
>    endif
>endif
>
>return llSuccess
>
So basically you are saying that all four Steps need to return True in order for lSuccess to be True. So why not write:
Return firstStep() ;
   And secondStep() ;
   And thirdStep() ;
   And fourthStep()
censored.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform