Name

Do...Loop Statement

Synopsis


Do [{While | Until} condition]    Syntax 1.
   [statements]
[Exit Do]
   [statements]
Loop
Do                                Syntax 2.
   [statements]
[Exit Do]
   [statements]
Loop [{While | Until} condition]
condition optional; Boolean expression

An expression that evaluates to True or False

statements optional

Program statements that are repeatedly executed while, or until, condition is True

Description

Repeatedly executes a block of code while or until a condition becomes True.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.