fpc/docs/refex/ex68.pp
1998-03-25 11:26:49 +00:00

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.