Results 1 to 6 of 6

Thread: Why cant i fix this mismatch error?? please help me quick

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

    Default Why cant i fix this mismatch error?? please help me quick

    Code:
    begin
    SetupSRL;
    ActivateClient;
    repeat
        if(Loggedout)then
        begin;
        Login;
        end else;
        begin
        wait(20);
        Thieveit;
        end else;
      end;
    until(count=100)
    Im getting this compiling error, for the line in orange.
    [Error] (102:19): Type mismatch at line 101
    Compiling failed.

  2. #2
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    try

    Simba Code:
    if not (LoggedIn) then
    Current Project: Retired

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

    Default

    .... uhtgh.gsh
    sdfkjgn/
    its for a private server, i wrote the Loggedout procedure myself. ITS JUST THE MISMATCH error im looking to fix, im not really looking for a "better way" Because it wont work. its a private server.

  4. #4
    Join Date
    Nov 2011
    Location
    Jozi, South Africa
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I believe that mismatch means that you have defined a variable as one type and then trying to use it as another. (ie defining an 'int' when the function / procedure calls for an extended / long.
    Ciao
    NM

  5. #5
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Alright. Maybe you should have made that clear.
    Current Project: Retired

  6. #6
    Join Date
    Jun 2007
    Location
    Greenville, SC
    Posts
    1,149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well for a ps srl is of no use because srl is for the current rs. Also, it seems as if you have to many ends. If loggedout then begin login endelse begin thieveit end until(whatever)

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
  •