Unit 'Variants' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

PackVarCreation

Size to use when creating an array of integers.

Declaration

Source position: variants.pp line 287

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

VarArrayCreate

  

Create a variant array.


Documentation generated on: Nov 23 2024