You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Matrix.Cols Property
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Cols Property

Defines the number of matrix columns.

Pascal
property Cols: integer;

Use this property to set or get the number of the calling matrix columns. Setting the Cols does not affect the actual amount of memory allocated unless Rows*Cols is bigger than cache size.

Always set the Complex property before setting Cols. Complex is initially false and Cols is initially 0. You can also set the Cols property by calling the method.

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