Difference between revisions of "UNTIL"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
imported>Clippy
Line 9: Line 9:
  
  
* DO UNTIL evaluates a condition before and inside of the loop.
+
* DO UNTIL evaluates a condition before and inside of the loop. The loop may not run at all.
 
* LOOP UNTIL evaluates a condition inside of the loop. It has to loop once.
 
* LOOP UNTIL evaluates a condition inside of the loop. It has to loop once.
 
* Skips the loop or loops until an evaluation becomes True.
 
* Skips the loop or loops until an evaluation becomes True.

Revision as of 09:12, 18 September 2009

The UNTIL condition is used in DO...LOOP exit verifications.


Syntax 1: DO UNTIL evaluation

Syntax 2: LOOP UNTIL evaluation


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


See also: WHILE



Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage