Results 1 to 2 of 2

Thread: Frown :( More errors.

  1. #1
    Join Date
    Nov 2007
    Location
    Nowhereville
    Posts
    1,155
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default Frown :( More errors.

    I am still getting errors, and here is exactly what I'm getting:

    SCAR Code:
    function ReturnFSpotFS(x, y: integer): boolean;
    var
      Testx, Testy, Boundx, Boundy, yu, xu: integer;
    begin
      if FindSymbol(Testx, Testy, 'fish') then
      begin
        627 - Testx := xu;
        85 - Testy := yu;
        if not (xu > 21) or (yu > 21) or (xu < -21) or (yu < -21) then
        begin
          x := Testx;
          y := Testy;
          Result := True;
          Exit;
        end else
          Exit;
      end;
    end;

    Code:
    Line 9: [Error] (16117:1): Identifier expected in script C:\Program Files\SCAR 3.15\Scripts\*****.scar
    Please help!

    Thank you,

    Cut em2 it
    Formerly known as Cut em2 it

  2. #2
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    You can't do:
    SCAR Code:
    627 - Testx := xu;
        85 - Testy := yu;
    Are you feeling alright?

    Should be:
    SCAR Code:
    xu:=627-TestX;
    yu:=TestY-85;

    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Errors.....
    By MrDeeds in forum OSR Help
    Replies: 3
    Last Post: 06-04-2007, 07:44 PM

Posting Permissions

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