ex46.pp 167 B

123456789
  1. Program Example46;
  2. { Program to demonstrate the FSearch function. }
  3. Uses linux,strings;
  4. begin
  5. Writeln ('ls is in : ',FSearch ('ls',strpas(Getenv('PATH'))));
  6. end.