[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Variants' (#rtl)

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

VarArrayCreate

  

Create a variant array


Documentation generated on: Jun 22 2020