mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 20:29:27 +02:00
12 lines
238 B
ObjectPascal
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. |