C
chinatwt
Unregistered / Unconfirmed
GUEST, unregistred user!
for i:=1 to lenght(str) do
begin
tt:=copy(str,i,1);
if ord(tt)>57 then
//这里老会出错啊,我是想判断tt的ASCII码,错误是:Incompatible types;
begin
...
...
...
end;
end;
begin
tt:=copy(str,i,1);
if ord(tt)>57 then
//这里老会出错啊,我是想判断tt的ASCII码,错误是:Incompatible types;
begin
...
...
...
end;
end;