Skip to content

VarTypeAsText

Return a textual description of the variant type

Declaration

Source position: variants.pp line 315

  function VarTypeAsText(const AType: tvartype) : string;

Description

VarTypeAsText returns a textual description of the variant type aType. It is used in all exception raising routines to describe types, if a type is provided. For custom variant types, the name of the class is returned.

See also

Name Description
VarOpAsText Names of operations