"Select Case" with VBScript Hello, I've got a problem getting some VBScript to work. Can anyone point me in the right direction and tell me what I'm doing wrong?
Here is the code:
<body>
<%
Dim myNum
myNum=5
Select Case Number
Case 2
Response.Write("Two")
Case 3
Response.Write("Three")
Case 5
Response.Write("Five")
Else Case
Response.Write("No Number")
End Select
%>
</body>
I keep getting the error message 'An error occurred on the server when processing the URL. Please contact the system administrator'
Thanks
Martin
|