UNTIL: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "The '''UNTIL''' condition is used in DO...LOOP exit verifications. {{PageSyntax}} :: DO [UNTIL] evaluation :: . :: . :: . :: LOOP UNTIL evaluation * Only one conditional evaluation can be made at the start or the end of a DO...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. * Skips the loop or loops until an evaluation becomes True....")
 
No edit summary
Line 17: Line 17:




{{Template:RelationalTable}}
{{RelationalTable}}





Revision as of 12:44, 5 June 2022

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


Syntax

DO [UNTIL] evaluation
.
.
.
LOOP UNTIL evaluation


  • Only one conditional evaluation can be made at the start or the end of a DO...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.
  • Skips the loop or loops until an evaluation becomes True.


Template:RelationalTable


See also:


Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link