RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.PackVarCreation Variable

Specifies whether space-efficient Variant Types are preferred.

Pascal
PackVarCreation: Boolean = True;
C++
Boolean PackVarCreation = True;

Variants

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. 

 

TVarData 

VarType

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!