Axe Software Forums
  Quest Developer Forum
  what is 'mismatch' error?


Author Topic:   what is 'mismatch' error?
carlii posted 27-12-2001 07:31 GMT     
What is runtime error 19? It says Type MisMatch - I don't get that!
carlii posted 27-12-2001 07:32 GMT          
Make that runtime error 13.
passerby posted 27-12-2001 16:40 GMT          
type mismatch means that you're trying to do something to a variable (or object, or character, or room) that can't be done to it because it has the wrong type.

example: trying to add a number to a variable when that variable is a string.

Alex posted 27-12-2001 18:13 GMT          
Passerby is right. Usually though, when you see this error in Quest, it's because I've goofed up.
carlii posted 31-12-2001 08:47 GMT          
haha lol.
carlii posted 31-12-2001 08:48 GMT          
Well in my case, the error was I tried to make a status variable with the '/' symbol in it.