Exit Do                                                                                                   Statement

 

EXIT DO

 

Description

To exit from a DO loop and continue execution at the statement after the LOOP statement.

 

Example

Do

  If i=5 then

    Exit Do

  End if

  ....................

  ....................

Loop