You are here:
Symbol Reference >
MtxExprInt Namespace
>
Classes
>
MatrixInt Record
>
public
>
Find Method
>
MatrixInt.Find Method (integer)
MtxVec VCL
Example
MatrixInt.Find Method (integer)
var
a:
TMtxInt
; ind: Integer;
begin
a := TMtxInt.Create;
try
a.SetIt(False,[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.