ex68.pp 235 B

123456789101112131415161718
  1. Program Example68;
  2. { Program to demonstrate the Str function. }
  3. Var S : String;
  4. Function IntToStr (I : Longint) : String;
  5. Var S : String;
  6. begin
  7. Str (I,S);
  8. IntToStr:=S;
  9. end;
  10. begin
  11. S:='*'+IntToStr(-233)+'*';
  12. Writeln (S);
  13. end.