Contents - Index


 

Use ProcElse within a procedure to end the current related ProcIfThen "truth" condition and reverse that condition for procedure statements following ProcElse and continuing to the related ProcEndIf statement.

 

ProcElse may also be entered as Else.

 

ProcElse has no operands.

 

Return Codes

 

OK Successful.

 

Examples

 

 

 

 ------------------------------------------------------------------------

 DECLARE MEM,CHAR,33,V

 DECLARE DEST,CHAR,4,V

 PARSE MEM,DEST

 IFTHEN DEST,EQ,'LIBR'

     -

     -

 ELSE

     IFTHEN SIBUSER EQ LARS

        SET MEM ACCT1

        -

     ENDIF

     -

     -

 ENDIF

 ------------------------------------------------------------------------