Wednesday, 4 July 2012

Ex07: Create an array in VBScript

<!DOCTYPE html>
<html>
<body>


<script type="text/vbscript">
Dim famname(5)
famname(0)="Jan Egil"
famname(1)="Tove"
famname(2)="Hege"
famname(3)="Stale"
famname(4)="Kai Jim"
famname(5)="Borge"
For i=0 To 5
  document.write(famname(i) & "<br />")
Next
</script>


</body>
</html>

No comments:

Post a Comment