Re: Interesting bug: A := -A; // When A is -2147483648 it remains -2147483648




"Rudy Velthuis" <newsgroups@xxxxxxxxxxxx> wrote in message
news:xn0f8cmdygugikt00mrvelthuis@xxxxxxxxxxxx
Skybuck Flying wrote:

Try with range checking on.

I don't think you'll get a range check error ;)

But an overflow error.

Not in Delphi 2007.

Overflow checking should also always be on.

Yes for debugging.

Bye,
Skybuck.


.