RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EIntOverflow Class

EIntOverflow is the exception class for integer calculations whose results are too large to fit in the allocated register.

Pascal
EIntOverflow = class(EIntError);
C++
class EIntOverflow : public EIntError;

EIntOverflow is a occurs when data is lost because an integer result is too large to retain.

Note: In Delphi Code, EIntOverflow is raised only if overflow checking is turned on. To turn on overflow checking, include the $Q+ directive in project source code, or select Project|Options, choose the Compiler tab, and check the Overflow-checking option in the dialog box.
Run-time exception information is saved in fields provided by EExternal.
Note: Floating-point overflows raise the EOverflow exception.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!