TEAInTEA

From SCAR Divi Manual
Jump to: navigation, search

Definition

function TEAInTEA(const TEA1, TEA2: TExtArray): Boolean;

Availability

SCAR Divi 3.34 > Current

Description

Returns true if all extendeds in TEA1 are also part of TEA2. 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

See Also