System.Variants.VarOverflowError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure VarOverflowError(const ASourceType, ADestType: TVarType);

C++

extern DELPHI_PACKAGE void __fastcall VarOverflowError(const System::Word ASourceType, const System::Word ADestType);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

Raises an EVariantOverflowError exception.

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.

See Also