mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 17:31:42 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			239 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			239 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| Program Example29;
 | |
| 
 | |
| { This program demonstrates the SetCurrentDir function }
 | |
| 
 | |
| Uses sysutils;
 | |
| 
 | |
| Begin
 | |
|   If SetCurrentDir ('..') Then
 | |
|     Writeln ('Now in directory ',GetCurrentDir)
 | |
|   else 
 | |
|     Writeln ('Change directory to .. failed.');
 | |
| End. | 
