Skip to content

PackVarCreation

Size to use when creating an array of integers

Declaration

Source position: variants.pp line 280

var
  PackVarCreation : Boolean = True;

Description

PackVarCreation determines what to do when a variant array is created for elements with an integer type (varSmallint, varByte and the like). A value of False means the array will contain varInteger elements. This can result in better memory alignment. When PackVarCreation is True then the smallest possible size is selected for the elements.

See also

Name Description
VarArrayCreate Create a variant array