【文件属性】:
文件名称:Delphi IntToHex函数用法举例.rar
文件大小:5KB
文件格式:RAR
更新时间:2022-07-30 13:12:14
Delphi源码-界面编程
关于IntToHex,在Delphi中使用频率也是挺高的,不过像我这种菜鸟,对IntToHex的具体用法仍是不太熟悉,后来看了这个小程序,了解了一些,分享给大家,特别是以下代码会加深你对IntToHex函数的用法理解。
procedure TForm1.Button1Click(Sender: TObject);
var
S:integer;
begin
S:=2147483647;
showmessage(inttoHex(s,8));
showmessage(inttoHex(s,10));
showmessage(inttoHex(s,16));
showmessage(inttoHex(s,32));
end;
【文件预览】:
srcfans.com
----IntToHex()
--------Project1.dof(2KB)
--------Unit1.dcu(4KB)
--------Unit1.dfm(625B)
--------Project1.cfg(434B)
--------Project1.dpr(188B)
--------Unit1.pas(655B)
--------Project1.res(876B)
--------Unit1.ddp(51B)