D daviszhong Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-11 #1 请问如何将char转换成integer类型,用什么function?
C coolbaby Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-11 #5 如果求它的ascii码的话用 i:=ord('c'); ok!
G guifuli Unregistered / Unconfirmed GUEST, unregistred user! 2004-01-29 #7 强制转换: i := Byte('C'); 一切搞定,OK!!!
牛 牛头12236 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-04 #8 var ch: Char; int: Integer; begin ch := 'A'; int := integer(ch); Caption := IntToStr(int);