mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 21:09:31 +02:00
13 lines
203 B
ObjectPascal
13 lines
203 B
ObjectPascal
Program Example48;
|
|
|
|
{ Program to demonstrate the BaseName function. }
|
|
|
|
Uses Unix,UnixUtil;
|
|
|
|
Var S : String;
|
|
|
|
begin
|
|
S:=FExpand(Paramstr(0));
|
|
Writeln ('This program is called : ',Basename(S,''));
|
|
end.
|