The While conditional statement repeats a block of code as long as a conditional test is True.
You must end While statements with WEnd or you will get an error message. You can place While statements inside of other conditional statements.
Code: <% While testnumber = 1000 Rem You can place all of the code you desire inside a While loop WEnd %>
Code: <% While Hour(Time) < 6 Rem You can place all of the code you desire inside a While loop Next %>