Difference between revisions of "TEAPosEx"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function TEAPosEx(const TEA: TExtArray; const Ext: Extended; const From: Integer): Integer; </source> ==Availability== SCAR Div...") |
(No difference)
|
Revision as of 15:11, 22 May 2012
Definition
function TEAPosEx(const TEA: TExtArray; const Ext: Extended; const From: Integer): Integer;
Availability
SCAR Divi 3.34 > Current
Description
Finds a given extended value in the given TExtArray TEA starting at the index given by From and returns the position of the extended in the array. The function returns -1 if the integer is not found.
Example
begin WriteLn(TEAPosEx([1, 2, 3.5, 4.5, 3.5], 3.5, 3)); WriteLn(TEAPosEx([1, 2, 3.5], 4.5, 3)); end.
Output:
4 -1