Name

While...End While Statement

Synopsis


While condition
   [statements]
[Exit While]
   [statements]
End While
condition required; Numeric or String

An expression evaluating to True or False

statements optional

Program statements to execute while condition remains True

Exit While optional; Keyword

Exits the While loop

Description

Repeatedly executes program code while a given condition remains 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.