Have a look on this
In reply to Re: Integer overflow in octal number by vinoth.ree in thread Integer overflow in octal number by Anonymous Monk