Results 1 to 2 of 2

Thread: duplicate identifier

  1. #1
    Join Date
    Jul 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default duplicate identifier

    Hey i was trying to work my autoer n this came up when i pressed play , Line 9: [Error] (14796:1): Duplicate identifier '' in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Globals.scar so then i tried to run the global script then this came up, Failed when compiling
    [Error] (404:1): Unexpected end of file , can anyone help me out?

  2. #2
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You called something that has alredy been included in your includes. Let me give you an example.
    SCAR Code:
    Program DupId;

    {.Include SRL/SRL.SCAR} //As your include

    var
     x, y: Integer; //As a global script var

    begin
    end.
    That will give you a duplicate identifier because the variables x and y are aleady included in SRL as integers. I cant exactly tell you what your error is because you did not post a script. Post a script and I or someone else will point out your error.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Duplicate Identifier
    By iunseeni in forum OSR Help
    Replies: 2
    Last Post: 11-06-2007, 04:18 PM
  2. Duplicate Identifier
    By Jackrawl in forum OSR Help
    Replies: 9
    Last Post: 09-06-2007, 02:37 PM
  3. Duplicate Identifier?
    By IEatJ00erBaybees in forum OSR Help
    Replies: 7
    Last Post: 03-05-2007, 01:53 AM

Posting Permissions

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