The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: TIntVector
Declaration: function FindExact (LowElem, HighElem, Value: integer): integer;

The method Find searches all compares all elements of the vector to the value specified by the parameter Value and returns the index of the found element. The search range is specified by the parameters LowElem and HighElem. If an exact match cannot be found a zero value is returned.

Hint: Setting both parameters LowElem and HighElem to zero values forces a search through all vector elements.

Last Update: 2017-Aug-16