i have this code:
try
c := a / be;
except
on E: Exception do
begin
Showmessage('Exception class name = ' + E.ClassName);
Showmessage('Exception message = ' + E.Message);
end;
when i run it and be is equal to zero, the program does create an error and asks me to break or continue but does not show me the exception messages as it should. why?
thanks.
P
try
c := a / be;
except
on E: Exception do
begin
Showmessage('Exception class name = ' + E.ClassName);
Showmessage('Exception message = ' + E.Message);
end;
when i run it and be is equal to zero, the program does create an error and asks me to break or continue but does not show me the exception messages as it should. why?
thanks.
P