<HTML>
<HEAD>
<TITLE>Using the Array Function</TITLE>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">

Sub ShowArray ()
    Dim myArray
    myArray = Array("Hello","World",2,1)

    Response.Write "Element 0: " & myArray(O) & "<BR>"
    Response.Write "Element 1: " & myArray(l) & "<BR>"
    Response.Write "Element 2: " & myArray(2) & "<BR>"
    Response.Write "Element 3: " & myArray(3) & "<BR>"
End Sub

</SCRIPT>

<% ShowArray %>

</body>

</html>