Simba Code:
function FindRange(var x, y: Integer): Boolean;
var
TPA: TPointArray;
ATPA: T2DPointArray;
i, x1, y1: Integer;
begin
x1 := MSCX;
y1 := MSCY;
FindColorsSpiralTolerance(x1, y1, TPA, 5795972, MSX1, MSY1, MSX2, MSY2, 15);
if Length(TPA) = 0 then FindColorsSpiralTolerance(x1, y1, TPA, 2704732, MSX1, MSY1, MSX2, MSY2, 15);
ATPA := TPAtoATPA(TPA, High(TPA));
for i := 0 to High(ATPA) do
MMouse(ATPA[i].x, ATPA[i].y, 5, 5);// Error at this line.
if (IsUpText('ption')) then
begin
result := true;
end;
end;
end;
Does it looks good its my first time ustin ATPA so im worried a bit also I GET THIS ERROR: [Error] (143:20): Semicolon (';') expected at line 142
Compiling failed.