Successful Split and array [modified]
-
This is my second week using ASP and I've run into some problems with array and split. Please look at the following: <%Dim x, y, t, z(3) z = split(t, ".") x = z(0) y = z(1) %> t = 9.95 I keep getting the following error message: Error Type: Microsoft VBScript runtime (0x800A000D) Type mismatch What am i doing wrong??? -- modified at 12:27 Tuesday 16th January, 2007
Ty
-
This is my second week using ASP and I've run into some problems with array and split. Please look at the following: <%Dim x, y, t, z(3) z = split(t, ".") x = z(0) y = z(1) %> t = 9.95 I keep getting the following error message: Error Type: Microsoft VBScript runtime (0x800A000D) Type mismatch What am i doing wrong??? -- modified at 12:27 Tuesday 16th January, 2007
Ty
Well, for starters, t has no value. Why are you learning asp ? It totally sucks. Is there any way you can switch to ASP.NET ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
This is my second week using ASP and I've run into some problems with array and split. Please look at the following: <%Dim x, y, t, z(3) z = split(t, ".") x = z(0) y = z(1) %> t = 9.95 I keep getting the following error message: Error Type: Microsoft VBScript runtime (0x800A000D) Type mismatch What am i doing wrong??? -- modified at 12:27 Tuesday 16th January, 2007
Ty