You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > Find Method > TMtxVecInt.Find Method (integer)
MtxVec VCL
ContentsIndex
Example
var a: TVecInt; ind: Integer; begin a := TVecInt.Create; try a.SetIt([2,5,1,6]); ind := a.Find(1); // returns 2 (the arrays are zero based) finally a.Free; end; end;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.