ex73.pp 234 B

123456789101112131415
  1. Program Example73;
  2. { This program demonstrates the IntToHex function }
  3. Uses sysutils;
  4. Var I : longint;
  5. Begin
  6. For I:=0 to 31 do
  7. begin
  8. Writeln (IntToHex(1 shl I,8));
  9. Writeln (IntToHex(15 shl I,8))
  10. end;
  11. End.