You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > Split Method > Vector.Split Method (TVec, integer, TVec)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.Split Method (TVec, integer, TVec)

Copy the contents of the calling TVec object to Vec1 and Vec2 objects.

Pascal
procedure Split(const Vec1: TVec; Offset: integer; Vec2: TVec); overload;

The Length and Complex properties of are set implicitly. An exception is raised, if Offset parameter exceeds the length of the calling vector. The Length property of Vec1 object is set to Offset and the Length of Vec2 is set to the rest.

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