fpc/docs/refex/ex82.pp

13 lines
173 B
ObjectPascal

Program example82;
{ Program to demonstrate the BinStr function }
Const Value = 45678;
Var I : longint;
begin
For I:=8 to 20 do
Writeln (BinStr(Value,I):20);
end.