Results 1 to 5 of 5

Thread: Identifier expected

  1. #1
    Join Date
    Nov 2006
    Posts
    94
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Identifier expected

    Line 995: [Error] (15977:30): Identifier expected in script C:\Program Files\SCAR 3.06\Scripts\

    if (A = 8)then is the line, dont say count because i did and it is right i think

    SCAR Code:
    procedure CrafterSoft;
    var
    A: Integer;
    begin
      repeat
        begin
          A := A + 1;
          UseItem(1);
          Wait(300+random(200));
          UseItem(28);
        end;
      until (FindBitmap(Xer, x, y))) or (A = 8);
      if (A = 8)then
      begin
        NextPlayer(False);
      end;
    end;

  2. #2
    Join Date
    Jun 2006
    Location
    New Zealand
    Posts
    285
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You don't need a begin and end after a repeat.

    EDIT: Whoot! Helpers cup
    Huehuehuehuehue

  3. #3
    Join Date
    Nov 2006
    Posts
    94
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nope not it

    and congrats

  4. #4
    Join Date
    Jun 2006
    Location
    New Zealand
    Posts
    285
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    until (FindBitmap(Xer, x, y) or (A = 8))
    I think you had too many brackets. I tested it and it compiles now.
    Huehuehuehuehue

  5. #5
    Join Date
    Nov 2006
    Posts
    94
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    kk thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Identifier Expected
    By Torrent of Flame in forum OSR Help
    Replies: 9
    Last Post: 02-23-2008, 01:21 PM
  2. Identifier Expected
    By HairyDuncan2 in forum OSR Help
    Replies: 1
    Last Post: 10-06-2007, 08:58 AM
  3. Identifier Expected
    By PwNZoRNooB in forum OSR Help
    Replies: 5
    Last Post: 05-03-2007, 07:05 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
  •