By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,066 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

Type Mismatch Issue

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

Expand|Select|Wrap|Line Numbers
  1. dim x,i,z,dig(200,200),catch(59)
  2. x = 1
  3. i = 1
  4. z = 34
  5.  
  6. catch(z) = dig(x,i)
  7.  
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
Oct 22 '11 #1
Share this Question
Share on Google+
2 Replies


Rabbit
Expert Mod 10K+
P: 12,369
If this is ASP.Net, Catch is a reserved keyword.
Oct 22 '11 #2

P: 52
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
Oct 22 '11 #3

Post your reply

Sign in to post your reply or Sign up for a free account.