summaryrefslogtreecommitdiff
path: root/fpcdocs/olinuxex/ex46.pp
blob: ff60cf7aecc4bcb77f077c1acd9376381ec7c564 (plain)
1
2
3
4
5
6
7
8
9
Program Example46;

{ Program to demonstrate the FSearch function. }

Uses oldlinux,strings;

begin
  Writeln ('ls is in : ',FSearch ('ls',strpas(Getenv('PATH'))));
end.