|
Required unless Until is used. Repeat the loop until condition is False. ... Sub DoExample() Dim check As Boolean = True Dim counter As Integer = 0 Do Do While counter < 20 counter += 1 If counter = 10 Then check = False Exit Do End If Loop Loop Until check = False End Sub...
|
msdn.microsoft.com/en-us/library/eked04a7.aspx
|
|
|
|
Lesson 57: The DO UNTIL Loop ... Whereas the DO WHILE loop continues executing the body of the loop as long as the comparison test is true, the DO UNTIL loop executes the loop as long as the comparison test is false. ... Here are two demonstrations as to how the DO UNTIL loop can be used:
|
www.saskschools.ca/~ehs/HeiseIntra/VB/Lesson57.html
|
|
|
The DO-UNTIL loop evaluates the expression at the end of the loop and always enters and processes the statements within the loop at least once. If the expression is True on the 2nd iteration, the loop stops. You must, somehow, alter the expression within the loop so that the loop will eventually end.
|
oregonstate.edu/dept/statistics/sasclass/3-6dountil.htm
oregonstate.edu/dept/statistics/sasclass/3-6dountil.htm
|
|
Repeats a block of statements until the specified expression is true. Syntax ... -Else-End; Do-Loop; Do-Until-Loop; Do-While-Loop; Do-Loop-Until; Do-Loop-While; For-Next; For-Step-Next; Objects; Wrappers; Servlet; Server Pages; Preprocessor; Executable...
|
www.servertec.com/products/iscript/docs/DoUntilLoop.htm...
www.servertec.com/products/iscript/docs/DoUntilLoop.html
|
|
Note that an until loop tests for the terminating condition at the top of the loop, differing from a similar construct in some programming languages. ... How to choose between a for loop or a while loop or until loop? In C, you would typically use a for loop when the number of loop iterations is known beforehand.
|
tldp.org/LDP/abs/html/loops1.html
tldp.org/LDP/abs/html/loops1.html
|
|
1. ADO.net Database ... 2. Asp Control ... Simple For loop (C#)
|
www.java2s.com/Code/ASP/Development/NestDoUntilloopinsi...
www.java2s.com/Code/ASP/Development/NestDoUntilloopinsideForloopVBnet.htm
|
|
9.3. The until loop ... The until loop is very similar to the while loop, except that the loop executes until the TEST-COMMAND executes successfully. As long as this command fails, the loop continues. The syntax is the same as for the while loop:
|
www.redhat.com/mirrors/LDP/LDP/Bash-Beginners-Guide/htm...
www.redhat.com/mirrors/LDP/LDP/Bash-Beginners-Guide/html/sect_09_03.html
|
|
Whereas the Do While loop continues executing the body of the loop as long as the comparison test is true, the Do Until loop executes the body of the loop as long as the comparison test is false. The program's logic at the time of the loop determines which kind of loop works best in a given situation.
|
www.informit.com/library/content.aspx?b=STY_VB6_24hours...
www.informit.com/library/content.aspx?b=STY_VB6_24hours&seqNum=89
|
|
There are three loop statements in Visual Basic, For, Do while and Do until. This note discusses Do Until loops. The general form of a Do Until loop is:
|
som.csudh.edu/fac/Lpress/vbmodules/hdts/DoUntil.htm
som.csudh.edu/fac/Lpress/vbmodules/hdts/DoUntil.htm
|
|