爱
爱如泣血
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Button1Click(Sender: TObject);
var
x,y:integer;
i:extended;
begin
x:=1;
y:=0;
i:=0;
try
try
i:=x/y;
except
showmessage('can not divide by zero');
end;
finally
i:=0;
end;
请问为什么不会弹出对话框显示'can not divide by zero!'
var
x,y:integer;
i:extended;
begin
x:=1;
y:=0;
i:=0;
try
try
i:=x/y;
except
showmessage('can not divide by zero');
end;
finally
i:=0;
end;
请问为什么不会弹出对话框显示'can not divide by zero!'