Difference between revisions of "TIAEquals"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function TIAEquals(const TIA1, TIA2: TIntArray): Boolean; </source> ==Availability== SCAR Divi 3.37 > Current ==Description...")
(No difference)

Revision as of 13:41, 21 November 2012

Definition

function TIAEquals(const TIA1, TIA2: TIntArray): Boolean;

Availability

SCAR Divi 3.37 > Current

Description

Returns true TIA1 contains the same integers in the same order as TIA2.

Example

begin
  WriteLn(TIAEquals([0, 1], [0, 1]));
  WriteLn(TIAEquals([0, 1], [0]));
end.

Output:

1
0