大
大名顶顶
Unregistered / Unconfirmed
GUEST, unregistred user!
小弟新手,下面这段代码总是报错不知为何?请各位大侠指教
-----------------------------------------------------
var
s:string;
begin
case s of //这里报错,好象是说类型不匹配,integer and string
'name':
begin
....
end;
'address':
begin
.....
end;
'telphone':
begin
.........
end;
end;
-----------------------------------------------------
var
s:string;
begin
case s of //这里报错,好象是说类型不匹配,integer and string
'name':
begin
....
end;
'address':
begin
.....
end;
'telphone':
begin
.........
end;
end;