Syntax |
Exit Do |
Description |
Causes execution to continue on the statement following the Loop clause. |
Comments |
This statement can only appear within a Do...Loop statement. |
Example |
This example will load an array with directory entries unless there are more than ten entries-in which case, the Exit Do terminates the loop. Const crlf = Chr$(13) + Chr$(10) Sub Main() If i% = 5 Then |
See Also |
Stop (statement); Exit For (statement); Exit Function (statement); Exit Sub (statement); End (statement); Do...Loop (statement). |
E |