You are here: Symbol Reference > MtxExprInt Namespace > Classes > MatrixInt Record > public > Max Method > MatrixInt.Max Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
MatrixInt.Max Method ()

Maximum value.

Pascal
function Max: integer; overload;

The maximum value of all calling object elements. The result is an integer value.

Max

var a: TMtxInt; b: integer; begin CreateIt(a); try a.SetIt([1,2,3,4]); b := a.Max; // 4 finally FreeIt(a); end; end;
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!