Difference between revisions of "TIAInTIA"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function TIAInTIA(const TIA1, TIA2: TIntArray): Boolean; </source> ==Availability== SCAR Divi 3.28 > Current ==Description== R...") |
(No difference)
|
Revision as of 10:24, 21 October 2011
Definition
function TIAInTIA(const TIA1, TIA2: TIntArray): Boolean;
Availability
SCAR Divi 3.28 > Current
Description
Returns true if all integers in TIA1 are also part of TIA2. The function does not take into account duplicates.
Example
begin WriteLn(TIAInTIA([1, 2, 3], [0, 2, 4, 1, 5, 3])); WriteLn(TIAInTIA([1, 2, 3], [0, 2, 4, 1, 5, 6])); end.
Output:
1 0