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

16 lines
215 B
ObjectPascal

Program Example36;
{ Program to demonstrate the Length function. }
Var S : String;
I : Integer;
begin
S:='';
for i:=1 to 10 do
begin
S:=S+'*';
Writeln (Length(S):2,' : ',s);
end;
end.