mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 21:47:58 +02:00
18 lines
210 B
ObjectPascal
18 lines
210 B
ObjectPascal
uses
|
|
graph,crt;
|
|
|
|
var
|
|
gd,gm : integer;
|
|
|
|
begin
|
|
gd:=detect;
|
|
initgraph(gd,gm,'');
|
|
line(1,1,100,100);
|
|
readkey;
|
|
setgraphmode($107);
|
|
line(100,100,1024,800);
|
|
readkey;
|
|
closegraph;
|
|
end.
|
|
|