fpc/docs/refex/ex112.pp
2002-08-30 06:37:00 +00:00

15 lines
218 B
ObjectPascal

Program example112;
{ Program to demonstrate the OctStr function }
Const Value = 45678;
Var I : longint;
begin
For I:=1 to 10 do
Writeln (OctStr(Value,I));
For I:=1 to 16 do
Writeln (OctStr(I),3);
end.