DynArrayIndex function
Return pointer to indicated element.
Declaration
function DynArrayIndex(a: Pointer;
const indices: Array of SizeInt = Int64;
typeInfo: Pointer): PointerDescription
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
