mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-07 11:12:30 +02:00
15 lines
234 B
ObjectPascal
15 lines
234 B
ObjectPascal
Program Example73;
|
|
|
|
{ This program demonstrates the IntToHex function }
|
|
|
|
Uses sysutils;
|
|
|
|
Var I : longint;
|
|
|
|
Begin
|
|
For I:=0 to 31 do
|
|
begin
|
|
Writeln (IntToHex(1 shl I,8));
|
|
Writeln (IntToHex(15 shl I,8))
|
|
end;
|
|
End. |