I am starting to look at ASP and ASP.net.
I have a file that works fine as ASP.NET, but not as ASP.
************************************************** *********
<html>
<head>
<title>Hello and Welcome Page</title>
</head>
<body>
<center>
<%
Dim TextSize As Integer
For TextSize = 1 to 7
%>
<font size = <%=TextSize%>>
Hello and Welcome!<br>
</font>
<%
Next
%>
</center>
</body>
</html>
************************************************** *********
The "As Integer" is what is causing the problem. If I take that out, it
works fine.
Why is this?
I assume it is because ASP uses VBScript and not VB. But ASP.Net uses
VB.NET (which is similar to VB).
Is this correct?
Thanks,
Tom.