DynArrayIndex
Return pointer to indicated element
Declaration
Source position: dynarrh.inc line 44
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
Name | Description |
---|---|
CopyArray | Copy managed-type elements in array |
DynArrayBounds | Return the bounds of the dynamic array |
DynArrayClear | Clears a dynamic array |
DynArrayDim | Return the number of dimensions in a dynamic array |
DynArraySize | Return length of dynamic array |
FinalizeArray | Finalize managed-type elements in array |
InitializeArray | Initialize managed-type elements in array |
IsDynArrayRectangular | Check whether all dimensions have the same size |