llSuccess = 1st_Logical_Test and 2nd_Logical_Test and 3rd_Logical_Testwhich I think is much clearer code to indicate overall success is dependent on each individual test being .t.
> >local llSuccess >llSuccess = .T. >DO CASE > CASE NOT 1st_Logical_Test > llSuccess = .F. > CASE NOT 2nd_Logical_Test > llSuccess = .F. > CASE NOT 3rd_Logical_Test > llSuccess = .F. > OTHERWISE > llSuccess = .T. >ENDCASE >RETURN llSuccess>Just remove the "llSuccess = .F." lines above or the "OTHERWISE" clause depending on your preference. That DO CASE is the same as --
>LOCAL llSuccess >llSuccess = .F. >IF 1st_Logical_Test > IF 2nd_Logical_Test > IF 3rd_Logical_Test > llSuccess = .T. > ENDIF > ENDIF >ENDIF >RETURN llSuccess