mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 00:29:48 +02:00
13 lines
196 B
ObjectPascal
13 lines
196 B
ObjectPascal
Program Example47;
|
|
|
|
{ Program to demonstrate the DirName function. }
|
|
|
|
Uses linux;
|
|
|
|
Var S : String;
|
|
|
|
begin
|
|
S:=FExpand(Paramstr(0));
|
|
Writeln ('This program is in directory : ',Dirname(S));
|
|
end.
|