Raise a variant type cast error EVariantTypeCastError.
Source position: variants.pp line 299
procedure VarCastError; |
const ASourceType: tvartype; |
const ADestType: tvartype |
); |
ASourceType |
|
Source variant type. |
ADestType |
|
Destination variant type. |
VarCastError raises an EVariantTypeCastError exception. If the source and destination types are specified, then a description of the types is included in the error message.
|
Error raised when an invalid typecast is performed. |
|
|
Raise a variant type cast error EVariantTypeCastError. |