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

# DynArraySize

Return length of dynamic array

## Declaration

Source position: dynarrh.inc line 38

`function DynArraySize(`
`a: pointer`
`):tdynarrayindex;`

## Description

DynArraySize gets the number of elements in the array (a) the result is equal to Length for dynamic arrays.

## See also

InitializeArray |  | Initialize managed-type elements in array
FinalizeArray |  | Finalize managed-type elements in array
CopyArray |  | Copy managed-type elements in array
DynArrayClear |  | Clears a dynamic array
DynArrayDim |  | Return the number of dimensions in a dynamic array
DynArrayBounds |  | Return the bounds of the dynamic array

Documentation generated on: May 14 2021