Sign in Join
FPDoc Onlineexperiment

VarTypeAsText function

In unit Variants

Return a textual description of the variant type.

Declaration

pascal
function VarTypeAsText(const AType: tvartype): AnsiString

Arguments

AType

Type for which to get description.

Function result

Textual description of the type.

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

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