源代码 :
点击运行
<!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>
运行结果