mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-27 09:33:41 +02:00
19 lines
235 B
ObjectPascal
19 lines
235 B
ObjectPascal
Program Example68;
|
|
|
|
{ Program to demonstrate the Str function. }
|
|
Var S : String;
|
|
|
|
Function IntToStr (I : Longint) : String;
|
|
|
|
Var S : String;
|
|
|
|
begin
|
|
Str (I,S);
|
|
IntToStr:=S;
|
|
end;
|
|
|
|
begin
|
|
S:='*'+IntToStr(-233)+'*';
|
|
Writeln (S);
|
|
end.
|