You are here: Symbol Reference > MtxExprInt Namespace > Classes > MatrixInt Record > public > MatrixInt.ConditionCheck Property
MtxVec VCL
ContentsIndex
PreviousUpNext
MatrixInt.ConditionCheck Property

Enables/disable inline condition checking.

Pascal
property ConditionCheck: boolean;

Enables/disables inline condition checking. When true, TMtxInt methods perform additional (range) checking before operations are executed. The drawback is slight loss of speed. This speeds up the execution but disables some safeguards. For short vectors the loss of speed can be significant. Some methods (parameterless) don't use the ConditionCheck property at all. ConditionCheck property is initially True. This property is an additional safeguard against array overrun or underrun errors. It allows to work with explicit range checking while writing and debugging the application and once your code is running you can turn it off. By functionality it is similar to assertions. (See Assert Delphi procedure).

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