
VBScript with ASP using Len() function gives Type Mismatch error
Hi All
I am on NT4 Wkstn using the PWS system to do some ASP prototype work. I
just downloaded Option pack 4 today 2/26/1999 from the MS website. I am on
NT 4 Wkstn SP3
I have an ASP page using VBScript that does
Dim x
x = len("hello")
inside of a bunch of other code. This gives the following error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[number: 11]'
/docSite/Default.asp, line 83
Any sort of Len() call gives me a type mismatch '[number: 11]'
Len() is in my book and the MS online web page as a valid function.
So then I went and created a testLen.asp file which only has:
<%
Dim x
x = Len("hello")
%>
And this never returns to the browser! A slow blue progress bar is made
across the bottom of my browser.
Any help and cues would be appreciated
Chad