Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n:=strtoint(inputbox('','Zadajte cislo: ','1'));
- randomize;
- for i:=1 to n do
- begin
- Image1.Canvas.Pen.Color:=random(16000000);
- Image1.Canvas.MoveTo(0,0);
- Image1.Canvas.LineTo(random(Image1.Width),random(Image1.Height));
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement