<html>
<body>

<script type="text/vbscript">
dim names(2)
names(0) = "John"
names(1) = "Smith"
names(2) = "Adams"

for each x in names
  document.write(x & "<br>")
next
</script>

</body>
</html>
Published in: VBScript
Download

Related snippets