You are here: Symbol Reference > MtxExprInt Namespace > Classes > MatrixInt Record > public > Copy Method > MatrixInt.Copy Method (TMtxVecInt)
MtxVec VCL
ContentsIndex
PreviousUpNext
MatrixInt.Copy Method (TMtxVecInt)

Copy object values.

Pascal
function Copy(const Src: TMtxVecInt): TMtxVecInt; overload;

Copy each of Vec elements to the calling object. Size and precision properties of the calling object are set implicitly to match Vec object.

uses MtxVecInt; procedure Example; var a,b: TMtxVecInt; begin a := TMtxVecInt.Create(); b := TMtxVecInt.Create(); try a.SetIt([1,2,3,4]); // a = [1,2,3,4] b.Copy(a); // b = [1,2,3,4] finally a.Free; b.Free; end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!