mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 04:22:07 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			326 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			326 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
Program Example12;
 | 
						|
uses Crt;
 | 
						|
 | 
						|
{ Program to demonstrate the TextColor function. }
 | 
						|
 | 
						|
begin
 | 
						|
  WriteLn('This is written in the default color');
 | 
						|
  TextColor(Red);
 | 
						|
  WriteLn('This is written in Red');
 | 
						|
  TextColor(White);
 | 
						|
  WriteLn('This is written in White');
 | 
						|
  TextColor(LightBlue);
 | 
						|
  WriteLn('This is written in Light Blue');
 | 
						|
end.
 |