try
strtofloat(edit3.text);
except
raise econverterror.create('exception');
end;
这样写在调试环境下还会有两条错误信息显示,但是真正执行时只有一条你定义的错误信息显示
strtofloat(edit3.text);
except
raise econverterror.create('exception');
end;
这样写在调试环境下还会有两条错误信息显示,但是真正执行时只有一条你定义的错误信息显示
对对~~
果然不出所料,是小问题。送分给你啦~~~