You are here:
Symbol Reference >
AbstractMtxVecInt Namespace
>
Classes
>
TMtxVecInt Class
>
public
>
Max Method
>
TMtxVecInt.Max Method (integer)
MtxVec VCL
Example
TMtxVecInt.Max Method (integer)
Uses
MtxVecInt
;
procedure
Example;
var
a: TVecInt; max, ind: integer;
begin
CreateIt(a);
try
a.SetIt(1,2,3,4]); max := a.Max(ind);
// max=4, ind = 3
finally
FreeIt(a);
end
end
;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.