阿 阿曼 Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-12 #1 如何取出一个字符串的某一个字符的ASCII码?以取"ABCDEFG"中的'B'(66)的ASCII码为例吧。
L LawrenceZhang Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-12 #3 ORD(copy('ABCDEFG',2,1))
小 小天 Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-12 #4 ORD(char(copy('ABCDEFG',2,1)))
L liuchuanbo Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-12 #5 agreen with 沈前卫: function ASCIIorder(str:string;index:integer):integer; begin result:=ord(str[index]); end;
agreen with 沈前卫: function ASCIIorder(str:string;index:integer):integer; begin result:=ord(str[index]); end;