mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-01 04:53:43 +02: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.
|