RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarOverflowError Function

Raises an EVariantOverflowError exception.

Pascal
procedure VarOverflowError(const ASourceType: TVarType; const ADestType: TVarType);
C++
VarOverflowError(const TVarType ASourceType, const TVarType ADestType);

Call VarOverflowError to indicate that a variant operation has failed due to numeric overflow. ASourceType and ADestType should contain the variant type codes for the source and destination variant types. VarOverflowError uses this information to compose an error string and raise EVariantOverflowError

 

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