M
Matt
<% hour = Request("controlname") %> will yield the following error:
Microsoft VBScript runtime (0x800A01F5)
Illegal assignment: 'hour'
However, if I declare hour, then it is fine.
<%
Dim hour
hour = Request("controlname")
%>
But I think in VBScript, declaration of a variable is optional? That means
we can use the variable without writing "Dim hour" ??
Please advise! thanks!
Microsoft VBScript runtime (0x800A01F5)
Illegal assignment: 'hour'
However, if I declare hour, then it is fine.
<%
Dim hour
hour = Request("controlname")
%>
But I think in VBScript, declaration of a variable is optional? That means
we can use the variable without writing "Dim hour" ??
Please advise! thanks!