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

Add coresponding elements in Src2 to Src1.

Pascal
function Add(const Src1: TMtxVecInt; const Src2: TMtxVecInt; SrcIndex1: integer; SrcIndex2: integer; Index: integer; Len: integer): TMtxVecInt; overload;

Add Src1 elements [Src1Index..Src1Index+Len-1] to corrresponding Src2 elements [Src2Index..Src12ndex+Len] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

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