mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 02:39:40 +01: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.
 |