summaryrefslogtreecommitdiff
path: root/fpcdocs/refex/ex82.pp
blob: d20c3d70303a4af8d613c38d5dbb3554b1210f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.