J jiachenghuang Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-21 #1 ord(Copy(model, 1, 1)); 其中 model是一个字符串变量 ,编译不通过,请问错在哪呢,提示 incompatible type 。 :(
A Avalon Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-21 #2 ord(Copy(model, 1, 1)[1]);
G guanyue7613 Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-21 #4 var str : string; abc : integer; begin str := Copy(model, 1, 1); abc := ord(str[1]); ......
J jiachenghuang Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-21 #5 谢谢,1、3的都对,是一样的原理,搞定!