program New;
var
x,y: Integer;
const
BallColor= 0;//Set the color of the ball.
begin
if(FindColor(x,y,BallColor,109,80,700,429)) then
begin
repeat
getclientcanvas.Pen.Color := clRed;
getclientcanvas.MoveTo(80, 227);
getclientcanvas.LineTo(BallColor)
until(false);
end.
The error i am getting is
Line 17: [Error] (17:1): Invalid number of parameters in script C:\Users\xxx\Desktop\hh.scar
Line 17 is until(false); - the line just before end.
var
x,y: Integer;
const
BallColor= 0;//Set the color of the ball.
begin
if(FindColor(x,y,BallColor,109,80,700,429)) then
begin
repeat
getclientcanvas.Pen.Color := clRed;
getclientcanvas.MoveTo(80, 227);
getclientcanvas.LineTo(BallColor)
until(false);
end.
The error i am getting is
Line 17: [Error] (17:1): Invalid number of parameters in script C:\Users\xxx\Desktop\hh.scar
Line 17 is until(false); - the line just before end.

