mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 13:39:39 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			278 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			278 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
Program Example60;
 | 
						|
 | 
						|
{ This program demonstrates the AnsiStrUpper function }
 | 
						|
 | 
						|
Uses sysutils;
 | 
						|
 | 
						|
Procedure Testit (S : Pchar);
 | 
						|
 | 
						|
begin
 | 
						|
 Writeln (S,' -> ',AnsiStrUpper(S))
 | 
						|
end;
 | 
						|
 | 
						|
Begin
 | 
						|
  Testit('AN UPPERCASE STRING');
 | 
						|
  Testit('Some mixed STring');
 | 
						|
  Testit('a lowercase string');
 | 
						|
End. |