Sign in Join
FPDoc Onlineexperiment

VarCastErrorOle procedure

In unit Variants

Raise a variant type cast error EVariantTypeCastError.

Declaration

pascal
procedure VarCastErrorOle(const ASourceType: tvartype)

Arguments

ASourceType

Source variant type.

Description

VarCastError raises an EVariantTypeCastError exception. a description of the source type ( aSourceType) is included in the error message.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.