QBasic 1.1: WHILE...WEND Statement

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.