WHILE

From QB64 Wiki

Revision as of 14:46, 17 May 2011 by Clippy (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The WHILE condition is used in WHILE...WEND or DO...LOOP loops to exit them.


Syntax:

DO WHILE evaluation
.
.
.
LOOP
OR
DO
.
.
.
LOOP WHILE evaluation


  • DO WHILE evaluates a condition before and inside of the loop. The loop may not run at all.
  • LOOP WHILE evaluates a condition inside of the loop. It has to loop once.
  • Skips the loop or loops until an evaluation becomes False.


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page