Data.FmtBcd.VarFMTBcd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function VarFMTBcd: TVarType;

C++

extern DELPHI_PACKAGE System::Word __fastcall VarFMTBcd(void);

Properties

Type Visibility Source Unit Parent
function public
Data.FmtBcd.pas
Data.FMTBcd.hpp
Data.FmtBcd Data.FmtBcd

Description

Returns the TVarType constant that identifies the internal type of a Variant as a TBcd value.

VarFMTBcd returns the Variant type code that identifies a TBcd-valued Variant. This is the value that the VarType function returns when the Variant stores its value as a TBcd value.

The Variant type codes for custom Variants are dynamically allocated when the application loads the unit that implements them. VarFMTBcd allows the application to identify the Variant type code that is currently used for custom Variants that represent a BCD value. This type code, however, may not match the type code used by another application that uses a different set of custom Variant types.

See Also