Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Successful Split and array [modified]

Successful Split and array [modified]

Scheduled Pinned Locked Moved Web Development
data-structureshelpquestion
3 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tyrone_whitey
    wrote on last edited by
    #1

    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

    C M 2 Replies Last reply
    0
    • T Tyrone_whitey

      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

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • T Tyrone_whitey

        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

        M Offline
        M Offline
        manowj
        wrote on last edited by
        #3

        Dear Tyrone_whitey, Remove the Dim statement and Execute. This solves your problem.

        Regards, Manowj

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups