Results 1 to 3 of 3

Thread: Assignment expected in script

  1. #1
    Join Date
    Dec 2006
    Location
    UK!!
    Posts
    910
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Assignment expected in script

    SCAR Code:
    function InFight(rx,ry:integer):boolean;
    var
      e : Integer;
    begin
      for e do 1 to 15
      if (findcolorspiral(x, y, 255, x+e, y+e, x-e, y-e)) then
      Result = True;
    end else
      Result = False;
    end;

    whats wrong??
    Code:
    Line 55: [Error] (15144:7): Assignment expected in script
    thx

    ~Spaz

  2. #2
    Join Date
    Aug 2007
    Posts
    429
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    SCAR Code:
    function InFight(rx,ry:integer):boolean;
    var
      e : Integer;
    begin
      for e := 1 to 15 do //like this =]
      if (findcolorspiral(x, y, 255, x+e, y+e, x-e, y-e)) then
      Result = True;
    end else
      Result = False;
    end;

  3. #3
    Join Date
    Dec 2006
    Location
    UK!!
    Posts
    910
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ahhh thx derek- :

    ~Spaz

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Assignment expected in script
    By Rich in forum OSR Help
    Replies: 5
    Last Post: 07-26-2008, 07:05 PM
  2. Assignment expected in script
    By Rich in forum OSR Help
    Replies: 2
    Last Post: 07-26-2008, 05:03 PM
  3. Replies: 4
    Last Post: 11-16-2007, 03:13 PM
  4. Assignment expected in script [Error]
    By marneus901 in forum OSR Help
    Replies: 2
    Last Post: 03-25-2007, 05:09 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
  •