M
mociin
Unregistered / Unconfirmed
GUEST, unregistred user!
var
Form1: TForm1;
var1:integer;
var2:integer;
procedure TForm1.Button1Click(Sender: TObject);
begin
edit3.Text:=inttostr(var1+var2);
label1.Caption:='+';
end;
为什么要用inttostr将(var1+var2)的值转换为字符串在输出?(P51)
Form1: TForm1;
var1:integer;
var2:integer;
procedure TForm1.Button1Click(Sender: TObject);
begin
edit3.Text:=inttostr(var1+var2);
label1.Caption:='+';
end;
为什么要用inttostr将(var1+var2)的值转换为字符串在输出?(P51)