Difference between revisions of "TEAContains"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function TEAContains(const TEA: TExtArray; const Ext: Integer): Boolean; </source> ==Availability== SCAR Divi 3.34 > Current =...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
function TEAContains(const TEA: TExtArray; const Ext: Integer): Boolean;
+
function TEAContains(const TEA: TExtArray; const Ext: Extended): Boolean;
 
</source>
 
</source>
  
Line 21: Line 21:
 
  1
 
  1
 
  0
 
  0
<!--
 
 
==See Also==
 
==See Also==
 
*[[TEAPos]]
 
*[[TEAPos]]
 
*[[TEAPosEx]]
 
*[[TEAPosEx]]
 +
<!--
 
*[[TEAIntersect]]
 
*[[TEAIntersect]]
 
*[[TEARemove]]
 
*[[TEARemove]]

Latest revision as of 15:07, 22 May 2012

Definition

function TEAContains(const TEA: TExtArray; const Ext: Extended): Boolean;

Availability

SCAR Divi 3.34 > Current

Description

Returns true if the given TExtArray TEA contains the given extended Ext.

Example

begin
  WriteLn(TEAContains([1.1, 2.2, 3.3], 3.3));
  WriteLn(TEAContains([1.1, 2.2, 3.3], 4.4));
end.

Output:

1
0

See Also