QBasic 1.1: WEND Keyword

Syntax

WHILE condition
.
.
.
WEND

Description / Parameter(s)

condition A numeric expression that Basic evaluates as true (nonzero) or false (zero).
DO...LOOP provides a better way to execute statements in a program loop.