fpc/bugs/bug0037.pp
1998-03-25 11:26:49 +00:00

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.