mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 10:19:31 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			257 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			257 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
Program Example15;
 | 
						|
uses Crt;
 | 
						|
 | 
						|
{ Program to demonstrate the Delay function. }
 | 
						|
var
 | 
						|
  i : longint;
 | 
						|
begin
 | 
						|
  WriteLn('Counting Down');
 | 
						|
  for i:=10 downto 1 do
 | 
						|
   begin
 | 
						|
     WriteLn(i);
 | 
						|
     Delay(1000); {Wait one second}
 | 
						|
   end;     
 | 
						|
  WriteLn('BOOM!!!'); 
 | 
						|
end.
 |