var x,y:integer;
n:psclear;
procedure dz (x,y,c:integer);
begin
circle (x,y,10);
floodfill(x,y,c);
end;
begin
setwindowwidth (400);
rectangle (0,0,400,400);
floodfill (1,1,clblue);
setpenstyle (psclear);
x:=10;y:=200;
while x<=390 do<br>begin
dz (x,y,clyellow);
delay (20);
dz (x,y,clblue);
x:=x+2;
end;
end.