Difference between revisions of "TIAIntersect"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function TIAIntersect(const TIA1, TIA2: TIntArray): TIntArray; </source> ==Availability== SCAR Divi 3.26 > Current ==Descripti...") |
|||
Line 5: | Line 5: | ||
==Availability== | ==Availability== | ||
− | SCAR Divi 3. | + | SCAR Divi 3.28 > Current |
==Description== | ==Description== |
Revision as of 19:21, 24 October 2011
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. </source>
Output:
1,7