Results 1 to 2 of 2

Thread: mismatch error?

  1. #1
    Join Date
    Feb 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default mismatch error?

    program Awesomestuff;
    {$I SRL/SRL.simba}
    var
    x, y: integer;
    Procedure Login;
    Begin
    (i deleted this because it contained password)
    end;
    Procedure Loggedout;
    Begin;
    (FindColor(x, y, 12364441,MMX1, MMY1, MMX2, MMY2));
    end;
    begin
    SetupSRL;
    ActivateClient;
    if(Loggedout) then
    Login;

    end.


    im getting an error ([Error] (77:1): Type mismatch at line 76
    Compiling failed.) i highlighted the area in orange, bear with me this is my first script.

  2. #2
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    change the first highlighted line to :


    if(not(loggedin)) then

Thread Information

Users Browsing this Thread

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

Posting Permissions

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