I don't seem to be able to get my programs to handle exceptions ... at all!
Even something as simple as
try
I := strtoint ('WRONG');
ShowMessage ('This should never print, but it does');
except
on EConvertErr do
ShowMessage ('Not right');
else
ShowMessage ('That is wrong');
end;
doesn't trap the error -- I just get a nasty exception box.
Same problem with sample programs that use the "except on E: Exception do"
construct.
What am I missing?
Thanks,
Rainer
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi