Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CASE statements
Message
 
 
To
23/10/2003 17:17:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00838740
Message ID:
00841892
Views:
30
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform