Results 1 to 6 of 6

Thread: What does this error mean ??

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

    What does this error mean ??

    i keep getting this error and others like:
    expecting identifier.


    what do these mean??

    Line 9: [Error] (16379:1): Duplicate identifier '' in script D:\Program Files\SCAR 2.03\Scripts\my scripts\My power miner (edited).scar

  2. #2
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Duplicate identifier = You got same variable/const twice in your script.

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

    Default

    kk thanks

  4. #4
    Join Date
    Nov 2006
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Check that you didn't declare anything that's already declared in SRL. Just because it isn't declared already in your actual script doesn't mean it isn't declared in the include.

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

    Default

    I get this same problem too, these are my variables, can you help me change them to make them work? (not my script) and im a noob at SCAR
    var
    setupform : TForm;
    OreLabel : TLabel;
    WTimeLabel : TLabel;
    DebugLabel : TLabel;
    PlayersButton : TButton;
    StartButton : TButton;
    OreBox : TComboBox;
    WTimeEdit : TEdit;
    YDebugButton : TRadioButton;
    NDebugButton : TRadioButton;
    CancelButton : TButton;

  6. #6
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    ja_vv1, What line is error line? Can you post your script here, or send it to me by privatemessage, I'll fix it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Line 135: [Error] (14845:1): Syntax error in script
    By AbsTrACt'^.| in forum OSR Help
    Replies: 16
    Last Post: 05-23-2008, 01:14 PM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  3. Smart error and Some kind of Math.scar error
    By FagetHax0r in forum OSR Help
    Replies: 6
    Last Post: 02-24-2008, 10:43 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
  •