ex29.pp 239 B

123456789101112
  1. Program Example29;
  2. { This program demonstrates the SetCurrentDir function }
  3. Uses sysutils;
  4. Begin
  5. If SetCurrentDir ('..') Then
  6. Writeln ('Now in directory ',GetCurrentDir)
  7. else
  8. Writeln ('Change directory to .. failed.');
  9. End.