You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > CopyFromArray Method > TMtxVecInt.CopyFromArray Method (TIntegerArray, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecInt.CopyFromArray Method (TIntegerArray, integer, integer, integer)

Copies values from a 4 byte signed integer type Src array [SrcIndex]..[SrcIndex+Len-1].

Pascal
function CopyFromArray(const Src: TIntegerArray; SrcIndex: integer; Index: integer; Len: integer): TMtxVecInt; overload;

Store the results to the calling object values [Index]..[Index+len-1]. The size of the calling object is not changed. If the array border are overrun an exception will be raised.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!