Results 1 to 7 of 7

Thread: Period expected

  1. #1
    Join Date
    Feb 2007
    Location
    C:\Program Files\SCAR 2.03
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Period expected

    Line 15: [Error] (17676:4): period ('.') expected in script
    Failed when compiling

    SCAR Code:
    begin
     DropAll;
    end;

    line 15 is end;

  2. #2
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    put a period there?

  3. #3
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    is that your main loop there? because if it is, that "end;" has to be a "end." if that doesen't solve it, can you post the whole script so i can help you out?

  4. #4
    Join Date
    Feb 2007
    Location
    C:\Program Files\SCAR 2.03
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    here is the whole script (just to clear things up)

    SCAR Code:
    program fullinvdropper;
     {.include SRL\SRL.scar}


    procedure Drop;
    var
      i: Integer;
    begin
      for i := 1 to 28 do
        DropItem(i);
    end;

    begin
     DropAll;
    end;


    end.

  5. #5
    Join Date
    Feb 2007
    Location
    C:\Program Files\SCAR 2.03
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    when I do your suggestion to change to period this is what it now says:

    Line 174: [Hint] (182:43): Variable 'NEWLINE' never used in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Globals.scar

  6. #6
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Code:
    program fullinvdropper;
     {.include SRL\SRL.scar}
    
    
    procedure Drop;
    var
      i: Integer;
    begin
      for i := 1 to 28 do
        DropItem(i);
    end;
    
    begin
     DropAll;
    end.

  7. #7
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Line 174: [Hint] (182:43): Variable 'NEWLINE' never used in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Globals.scar
    That always comes up. It's fine.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 05-17-2008, 12:48 PM
  2. I just need help. Period.
    By BladeTrix in forum OSR Help
    Replies: 5
    Last Post: 12-01-2007, 03:39 AM
  3. var expected :s
    By ShowerThoughts in forum OSR Help
    Replies: 12
    Last Post: 09-25-2007, 07:33 PM
  4. colon expected ??
    By Ipewnjoo in forum OSR Help
    Replies: 5
    Last Post: 07-01-2007, 09:59 PM
  5. period ('.') expected
    By Kingofptw in forum OSR Help
    Replies: 20
    Last Post: 03-20-2007, 12:02 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
  •