Elements of the Product Array
SOURCE CODE:
<html><head><title>For In</title></head>
<body bgColor="#FFFF99" text="#800000"
topmargin="5" leftmargin="5"
link="#008000" vlink="#808000"
alink="#0000FF">
<h1>Elements of the Product Array</h1>
<script language = "vbscript">
dim Products(5)
Products(0) = "Pencils"
Products(1) = "Pens"
Products(2) = "Paper"
Products(3) = "Markers"
Products(4) = "Notepads"
Products(5) = "Scissors"
dim i
i = 0
for each eachElement in Products
document.write(Products(i) & "<br>")
i = i+1
next
</script>
</body></html>