ex32.pp 343 B

123456789101112131415161718192021
  1. Program Example32;
  2. { This program demonstrates the DoDirSeparators function }
  3. {$H+}
  4. Uses sysutils;
  5. Procedure Testit (F : String);
  6. begin
  7. Writeln ('Before : ',F);
  8. DoDirSeparators (F);
  9. Writeln ('After : ',F);
  10. end;
  11. Begin
  12. Testit (GetCurrentDir);
  13. Testit ('c:\pp\bin\win32');
  14. Testit ('/usr/lib/fpc');
  15. Testit ('\usr\lib\fpc');
  16. End.