fpc/docs/sysutex/ex29.pp
2005-02-14 17:13:06 +00:00

12 lines
238 B
ObjectPascal

Program Example29;
{ This program demonstrates the SetCurrentDir function }
Uses sysutils;
Begin
If SetCurrentDir ('..') Then
Writeln ('Now in directory ',GetCurrentDir)
else
Writeln ('Change directory to .. failed.');
End.