Arrays
Back to ASP
Arrays can hold lots of values
The following declares the array and adds 3 names to the array, and then this is outputed to the browser
<html>
<head><title>Arrays</title></head>
<body>
<%
Dim myarray(3), lnCount
myarray(1) = "Fred"
myarray(2) = "Harry"
myarray(3) = "Clive"
for lnCount = 1 to 3
response.write(myarray(lnCount) & "<br />")
next
%>
</body>
</html>