SOURCE CODE:
<html><head>
<title>For Next</title>
</head>
<body>
<script language="vbscript">
document.write("Let's start counting...<br>")
for varCount = 1 to 5 step 1
document.write(varCount & "<br>")
next
</script>
</body>
</html>