VBSyntax Repetition
VBSyntax Repetition
NET Guide
Fixed Loops:
Fixed loops execute a fixed number of times.
While (condition)
Statements…
End while
Unguarded loops test the condition at the end. In Visual Basic the structure is slightly
different to the pseudocode format. There are variations of this loop structure.
Pseudocode:
Repeat
Statements…
Until (condition)
Visual Basic:
Do Until (condition)
Statements
Loop
Page 1 of 1