ex47.pp 196 B

123456789101112
  1. Program Example47;
  2. { Program to demonstrate the DirName function. }
  3. Uses linux;
  4. Var S : String;
  5. begin
  6. S:=FExpand(Paramstr(0));
  7. Writeln ('This program is in directory : ',Dirname(S));
  8. end.