Exit Do (statement)
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.
|
See Also | Stop (statement); Exit For (statement); Exit Function (statement); Exit Sub (statement); End (statement); Do...Loop (statement). |