You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > Max Method > TMtxVecInt.Max Method (integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecInt.Max Method (integer, integer, integer)

Calculate the maximum value of calling object elements [Index..Index+Len-1].

Pascal
function Max(out aIndex: integer; Index: integer; Len: integer): integer; overload;
Parameters 
Description 
aIndex 
Returns maximum value index. 
Index 
The starting index at which to start the search. 
Len 
The number of elements to search starting from Index. 

the maximum of calling vector integer elements [Index..Index+Len-1].

An exception is raised if array borders are overrun/underrun.

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