Results 1 to 4 of 4

Thread: [Runtime Error] Type Mismatch - what is it?

  1. #1
    Join Date
    Aug 2007
    Location
    Where do you live?
    Posts
    934
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default [Runtime Error] Type Mismatch - what is it?

    I was just wondering what a "Type Mismatch" was exactly... and how come a script can compile, but then get this error while running... cuz I saw a few other people had Type Mismatch problems, but they weren't runtime errors...

    If someone could jus explain what a Type Mismatch was exactly, that would be awesome

    And yes, I already searched, looked through FAQ, and even looked and posted on JAD's error TUT (3 days ago) And no answers... So I'm hoping more people look at this section than the beginner tut section...

  2. #2
    Join Date
    Jun 2007
    Posts
    785
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Type Mismatch basically means you didn't fill the function / procedure in correct.

    So e.g:

    SCAR Code:
    var
     new: boolean;

    begin
    New := 0;  // This will give a type mismatch because it isn't filled in with a boolean( true or false ), but its filled in with an integer;
    end.

    Alot of people mess up on this because they fill in stuff like this

    Hope that makes it clear for you, PM me or reply if you still have questions

    [22:20] <[-jesus-]> freddy, go uninstall yourself

  3. #3
    Join Date
    Aug 2007
    Location
    Where do you live?
    Posts
    934
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    oh ok I get it now - thank you!


    I'll try and figure it out with the script I'm havin trouble with.. If I can't fix it myself, I'll ask you

  4. #4
    Join Date
    Jun 2007
    Posts
    785
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sure do that

    [22:20] <[-jesus-]> freddy, go uninstall yourself

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Runtime Error, Type Mismatch?
    By Sandstorm in forum OSR Help
    Replies: 5
    Last Post: 02-14-2009, 08:00 PM
  2. type mismatch error?
    By RudeBoiAlex in forum OSR Help
    Replies: 2
    Last Post: 10-28-2007, 10:17 PM
  3. Type Mismatch error
    By !bezo! in forum OSR Help
    Replies: 3
    Last Post: 08-26-2007, 03:00 PM
  4. Type Mismatch error
    By RaptorBlaze in forum OSR Help
    Replies: 2
    Last Post: 07-15-2007, 07:00 AM
  5. Type mismatch error...
    By Hobbit in forum OSR Help
    Replies: 8
    Last Post: 02-13-2007, 04:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •