P pdb Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-09 #2 前面加一個'$'+16进制數當是一個字符,如: strtoint('$'+'A')
T tongdings Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-09 #6 var n,m: Integer; s: string; n := $1011; s := IntToHex(n,4); //将整形转化成十六进制的字符串 m := StrToInt('$'+s); showmessage(IntToStr(m));
var n,m: Integer; s: string; n := $1011; s := IntToHex(n,4); //将整形转化成十六进制的字符串 m := StrToInt('$'+s); showmessage(IntToStr(m));