Term | Definition |
Do | Required. Starts the definition of the Do loop. |
While | Required unless Until is used. Repeat the loop until condition is False. |
Until | Required unless While is used. Repeat the loop until condition is True. |
condition | Optional. Boolean expression. If condition is Nothing, Visual Basic treats it as False. |
statements | Optional. One or more statements that are repeated while, or until, condition is True. |
Continue Do | Optional. Transfers control to the next iteration of the Do loop. |
Exit Do | Optional. Transfers control out of the Do loop. |
Loop | Required. Terminates the definition of the Do loop. |