%@ LANGUAGE = VBScript %>
<% Option Explicit %>
Looping
Looping with ASP
<%
Dim intCounter
For intCounter = 1 to 5 %>
>
Hello World with a For Loop!
<% next %>
<%
intCounter = 1
While(intCounter < 6) %>
>
Hello World with a While Loop!
<% intCounter = intCounter + 1 %>
<% wend %>
<%
intCounter = 1
Do While(intCounter < 6) %>
>
Hello World with a Do...While Loop!
<% intCounter = intCounter+1 %>
<% loop %>