ex67.pp 295 B

12345678910111213141516
  1. Program Example67;
  2. uses Linux;
  3. { Program to demonstrate the FSplit function. }
  4. var
  5. Path,Name,Ext : string;
  6. begin
  7. FSplit(ParamStr(1),Path,Name,Ext);
  8. WriteLn('Split ',ParamStr(1),' in:');
  9. WriteLn('Path : ',Path);
  10. WriteLn('Name : ',Name);
  11. WriteLn('Extension: ',Ext);
  12. end.