Changes

Visual Basic Do ... Loops

8 bytes added, 19:19, 6 August 2007
Creating a Visual Basic Do ... Loop
The Visual Basic ''Do ... Loop'' structure can be used in a variety of different ways. The first, basic method involves a simple Do loop with an Exit statement called based on a ''If'' statement. The syntax for this type of Do Loop is as follows:
'''Do'''<br> ''[VB Statements]''<br> '''If''' ''expression'' '''Then Exit Do'''<br>'''Loop'''<br>