TIAIntersect

From SCAR Divi Manual
Revision as of 13:44, 10 November 2012 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function TIAIntersect(const TIA1, TIA2: TIntArray): TIntArray;

Availability

SCAR Divi 3.28 > Current

Description

Returns a TIntArray containing all integers the given TIntArrays TIA1 and TIA2 have in common.

Example

var
  TIA: TIntArray;

begin
  TIA := TIAIntersect([0, 5, 7, 1, 6, 4], [1, 8, 2, 7, 3]);
  WriteLn(TIAToStr(TIA));
end.

Output:

1,7

See Also