2,498
社区成员
发帖
与我相关
我的任务
分享
var
i,j,sum0,k:integer;
if sglist.Cells[j,i]<>'' then
begin
if trystrtoint(sglist.Cells[j,i],k) then
begin
sum0:=sum0+k;
end
else
begin
Showmessage('第'+inttostr(i)+'行'+inttostr(j)+'列输入错误');
exit;
end;
end;