Type Mismatch Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • movieking81
    New Member
    • Feb 2007
    • 52

    Type Mismatch Issue

    Can someone help with this, I'm about to pull my hair out? I get a type mismatch error from the following code:

    Code:
    dim x,i,z,dig(200,200),catch(59)
    x = 1
    i = 1
    z = 34
    
    catch(z) = dig(x,i)
    I've taken some things out, but that's where the error is happening, the "catch(z)" array line. Do I have to format the variable a certain way?

    Any help would be great
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    If this is ASP.Net, Catch is a reserved keyword.

    Comment

    • movieking81
      New Member
      • Feb 2007
      • 52

      #3
      No it's classic, but good to know about catch as a keyword. I figured it out, I has some NULL values in my SQL database.

      Thanks for the response

      Comment

      Working...