fpc/tests/tbs/tb0051.pp
peter 06c7671945 * changed $ifdefs to %target
* removed obsolete dpmiexcp unit for go32v2
2002-12-24 22:31:26 +00:00

27 lines
440 B
ObjectPascal

{ %GRAPH }
{ %TARGET=go32v2,win32,linux }
{ Old file: tbs0057.pp }
{ Graph, shows a crash with switch graph/text/graph OK 0.99.9 (PM) }
uses
graph,crt;
var
gd,gm : integer;
begin
gd:=detect;
gm:=$103;
initgraph(gd,gm,'');
setcolor(white);
line(1,1,100,100);
{readkey;}delay(1000);
closegraph;
initgraph(gd,gm,'');
line(100,100,1,100);
{readkey;}delay(1000);
closegraph;
writeln('OK');
end.