L lml Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-04 #3 直接强制转换即可,比如: ShowMessage(IntToStr(Integer('a')));
H hhzh426 Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-04 #4 do you want to know how to convert char to ascii? char->ascii rd('x') ascii->char :chr.
F fifa2000 Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-05 #5 var mystring:tstring; i:integer; begin try i:=inttostr(mystring); except showmessage('error'); end; end;
var mystring:tstring; i:integer; begin try i:=inttostr(mystring); except showmessage('error'); end; end;
G gcq Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-05 #6 pchar(string)->pchar while …… do ord(pchar[0])->ascii