RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.MaxValue Function

Returns the largest signed value in an array.

Pascal
function MaxValue(const Data: array of Double): Double;
C++
Double MaxValue(const array of Double Data);

MaxValue returns the largest signed value in the Data array. In C++, the Data_Size parameter gives the index of the last element of the array (one less than the number of elements). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!