mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 09:39:32 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			167 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			167 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
Program Example46;
 | 
						|
 | 
						|
{ Program to demonstrate the FSearch function. }
 | 
						|
 | 
						|
Uses linux,strings;
 | 
						|
 | 
						|
begin
 | 
						|
  Writeln ('ls is in : ',FSearch ('ls',strpas(Getenv('PATH'))));
 | 
						|
end.
 |