You are here: Symbol Reference > MtxVecInt Namespace > Classes > TMtxInt Class > public > TMtxInt.SetVal Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxInt.SetVal Method

Initializes matrix values to Value.

Pascal
function SetVal(const Value: integer; Row: integer; Col: integer; ToRow: integer; ToCol: integer): TMtxInt; overload;

Sets the calling matrix elements [Row,Col]..[ToRow,ToCol] to Value. An exception is raised if TMtxVecBase.ConditionCheck is true and array bounds are overrun.

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