I just tried to catch range error exceptions with LongWord and Int64, and I
can't seem to catch them properly with try..except.
When a Longword variable has value zero (the smallest possible), and inside
a try..except structure I try to decrement it below zero, the except clause
executes but the exception is not disabled, so an exception is raised
*again* just outside the try..except. I did find a workaround for this, to
avoid the exception being re-raised.
But for this next example I can find no workaround. When an Int64 variable
has its smallest possible value Low(Int64) and I try to decrement it lower
inside a try..except, an exception is raised that simply will not be
disabled. The same happens if I try to increment High(Int64).
Can anyone explain what is happening and how I can catch and these
exceptions without them being re-raised?
Rory Daulton
rorydaulton
email.com
----------------------------------------------------------
[This e-mail scanned for viruses and spam by Nmax - "Your MAXimum Connection!"]