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

DynArrayIndex

Return pointer to indicated element

Declaration

Source position: dynarrh.inc line 39

function DynArrayIndex(

  a: Pointer;

  const indices: array of SizeInt;

  typeInfo: Pointer

):Pointer;

Description

DynArrayIndex returns a pointer to the element indicated by indices in dynamic array a with type information typinfo. The length of indices must equal the number of dimensions of the array (as returned by DynArrayDim).

Errors

No bounds checking is performed, it is therefor possible to get an access violation if one of the indexes is out of range.

See also

InitializeArray

  

Initialize managed-type elements in array

FinalizeArray

  

Finalize managed-type elements in array

CopyArray

  

Copy managed-type elements in array

DynArraySize

  

Return length of dynamic array

DynArrayClear

  

Clear dynamical array

DynArrayBounds

  

Return the bounds of the dynamic array

DynArrayDim

  

Return the number of dimensions in a dynamic array

IsDynArrayRectangular

  

Check whether all dimensions have the same size


Documentation generated on: Nov 16 2015