ex33.pp 326 B

12345678910111213141516171819
  1. Program Example33;
  2. { This program demonstrates the ExpandFileName function }
  3. Uses sysutils;
  4. Procedure Testit (F : String);
  5. begin
  6. Writeln (F,' expands to : ',ExpandFileName(F));
  7. end;
  8. Begin
  9. Testit('ex33.pp');
  10. Testit(ParamStr(0));
  11. Testit('/pp/bin/win32/ppc386');
  12. Testit('\pp\bin\win32\ppc386');
  13. Testit('.');
  14. End.