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

Copy integer values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].

Pascal
function CopyToArray(var Dst: Math387.TWordArray; DstIndex: integer; Index: integer; Len: integer): TMtxVecInt; overload;

The size of the Dst array is not changed. The method converts calling object values to 2 byte unsigned integers. Values exceeding the range of a 2 byte unsigned integer type are clipped.

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