<html>
<body>

<script type="text/vbscript">
dim name(4)
name(0)="John"
name(1)="George"
name(2)="Michael"
name(3)="Adam"
name(4)="Brian"
for i=0 to 4
document.write(name(i) & "<br>")
next
</script>

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

Related snippets