Difference between revisions of "TEAInTEA"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function TEAInTEA(const TEA1, TEA2: TExtArray): Boolean; </source> ==Availability== SCAR Divi 3.34 > Current ==Description== R...") |
|||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | Returns [[true]] if all | + | Returns [[true]] if all [[extendeds|Extended]] in '''TEA1''' are also part of '''TIA2'''. The function does not take into account duplicates. |
==Example== | ==Example== |
Revision as of 11:08, 22 May 2012
Definition
function TEAInTEA(const TEA1, TEA2: TExtArray): Boolean;
Availability
SCAR Divi 3.34 > Current
Description
Returns true if all Extended in TEA1 are also part of TIA2. The function does not take into account duplicates.
Example
begin WriteLn(TEAInTEA([1.5, 2.7, 3.1], [0, 2.7, 4.2, 1.5, 5, 3.1])); WriteLn(TEAInTEA([1.5, 2.7, 3.1], [0, 2.7, 4.2, 1.5, 5, 6.9])); end.
Output:
1 0