Results 1 to 3 of 3

Thread: Duplicate identifier 'x'

  1. #1
    Join Date
    Oct 2006
    Posts
    334
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default Duplicate identifier 'x'

    I run it and im pretty sure that theres no duplicate identifier.
    Obviously SCAR searches better than I do

    SCAR Code:
    var
    x,y,c,v: Integer;

    procedure Draynor;
    if(FindColor(x,y,13614754,661,10,709,58))
    begin
    FindColor(x,y,13614754,661,10,709,58);

    NVM I just changed the variables to xax and yax. then cx and cy.
    Sorry for posting this. It just needed fiddling

  2. #2
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Im pretty sure that it was because you had SRL included, and that already has x,y declared as variables?

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

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

    Default

    Yes, in SRL x,y is always included, so you don't have to ever declare them as variables, or you will get an 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
  •