源代码 :
点击运行
<!DOCTYPE html> <html> <body> <script type="text/vbscript"> Dim x(2,2) x(0,0)="Volvo" x(0,1)="BMW" x(0,2)="Ford" x(1,0)="Apple" x(1,1)="Orange" x(1,2)="Banana" x(2,0)="Coke" x(2,1)="Pepsi" x(2,2)="Sprite" for i=0 to 2 document.write("<p>") for j=0 to 2 document.write(x(i,j) & "<br>") next document.write("</p>") next </script> </body> </html>
运行结果