System.Variants.PackVarCreation

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

PackVarCreation: Boolean = True;

C++

extern DELPHI_PACKAGE bool PackVarCreation;

Properties

Type Visibility Source Unit Parent
variable public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

Specifies whether space-efficient Variant Types are preferred.

PackVarCreation controls the way Variant Types are chosen for newly-created Variants. If PackVarCreation is true (default), a new Variant has the smallest possible Variant Type. If PackVarCreation is false, a new Variant has the Variant Type that minimizes execution time.

See Also