mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 01:27:55 +02:00
19 lines
240 B
ObjectPascal
19 lines
240 B
ObjectPascal
uses
|
|
graph,crt;
|
|
|
|
var
|
|
gd,gm : integer;
|
|
|
|
begin
|
|
gd:=detect;
|
|
gm:=$103;
|
|
initgraph(gd,gm,'');
|
|
line(1,1,100,100);
|
|
readkey;
|
|
closegraph;
|
|
initgraph(gd,gm,'');
|
|
line(100,100,1,100);
|
|
readkey;
|
|
closegraph;
|
|
end.
|