mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-20 18:32:50 +02:00
15 lines
218 B
ObjectPascal
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.
|