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

Minimum value.

Pascal
function Min: integer; overload;

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

var a: TVecInt; b: integer; begin CreateIt(a); try a.SetIt([1,2,3,4]); b := a.Min; // 1 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!