TEAContains

From SCAR Divi Manual
Revision as of 11:10, 22 May 2012 by Freddy (talk | contribs) (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 =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function TEAContains(const TEA: TExtArray; const Ext: Integer): 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