一个编写word程序引用了Word_TLB,Word2010这两个uses,使用break就会报错,而且提示break属于Word_TLB或Word2010
一个编写word程序引用了Word_TLB,Word2010这两个uses,使用break就会报错,而且提示break属于Word_TLB或Word2010
报错的break位置代码为:
if RzStringGrid1.Cells[4,i + 1]=EmptyStr then
begin
break
end
else
begin
sEdit2.Text:=FloatToStr(StrToFloat(sEdit2.Text) + StrToFloat(RzStringGrid1.Cells[4,i + 1 ] ));
end;
RzStringGrid1.RowCount:=RzStringGrid1.RowCount + 1;
编译时,错误代码为:
[dcc32 Error] MainForm.pas(1173): E2014 Statement expected, but expression of type 'TGUID' found
究竟如何解决呢?
各位高手