* *
*
* * News
 • Daily news
 • Archived news

Columns
 • WildCard
 • Qbasic Articles
 • QB Comic!

Learning center
 • QB Books
 • Qbasic Lessons!
 • Qbasic FAQ
 • Newbies Section
 • Qbasic Tutorials

* *
*
*
*
*  
.DO...LOOP Statement Details.

  QuickSCREEN      Details      Example      Contents      Index
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
DO...LOOP Statement Details
Syntax 1
  DO [{WHILE | UNTIL} booleanexpression]
    [statementblock]
  LOOP
 
Syntax 2
  DO
    [statementblock]
  LOOP [{WHILE | UNTIL} booleanexpression]
 
  Argument            Description
 
  statementblock      One or more BASIC statements to be repeated
 
  booleanexpression   Any expression that evaluates to true (nonzero)
                      or false (zero)
 
You can use a DO...LOOP statement instead of a WHILE...WEND
statement. The DO...LOOP is more versatile because it can test
for a condition at the beginning or at the end of a loop.
 
* * ** * * * *