ex36.pp 215 B

123456789101112131415
  1. Program Example36;
  2. { Program to demonstrate the Length function. }
  3. Var S : String;
  4. I : Integer;
  5. begin
  6. S:='';
  7. for i:=1 to 10 do
  8. begin
  9. S:=S+'*';
  10. Writeln (Length(S):2,' : ',s);
  11. end;
  12. end.