按钮单击事件,代码这样写的报告错误,不懂了… var sl,wt,st:string; begin sl:=edit1.text; wt:=sl*4;
edit2.text:=wt; 运行错误…
收起
要先strToInt()转换成数字,再相乘
报告相同问题?