I’m declaring a string variable this way in classic ASP:
Dim i As String
And getting this error:
Microsoft VBScript compilation error '800a0401' Expected end of statement /retencion/Estadisticas/Detail.asp, line 10, column 6 Dim i As String -----^
Why is that?
Classic ASP is written in VBScript and isn’t Visual Basic itself, so you can’t declare things as strings. Loosely typed I think is the phrase to describe it. Basically, you have to leave out the “as” and anything after it.
Try: