System.Variants.VarOverflowError
Delphi
procedure VarOverflowError(const ASourceType, ADestType: TVarType);
C++
extern DELPHI_PACKAGE void __fastcall VarOverflowError(const System::Word ASourceType, const System::Word ADestType);
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet | 
|---|---|---|---|---|
| procedure function | public | System.Variants.pas System.Variants.hpp | System.Variants | System.Variants | 
Beschreibung
Löst eine EVariantOverflowError-Exception aus.
Mit VarOverflowError zeigen Sie an, dass eine Variantenoperation aufgrund eines numerischen Überlaufs fehlgeschlagen ist. ASourceType und ADestType müssen die Typcodes für den Quell- und den Zieltyp enthalten. VarOverflowError nutzt diese Informationen zum Aufbau eines Fehler-Strings und zum Auslösen der Exception EVariantOverflowError.