TIAEquals

From SCAR Divi Manual
Revision as of 13:41, 21 November 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function TIAEquals(const TIA1, TIA2: TIntArray): Boolean; </source> ==Availability== SCAR Divi 3.37 > Current ==Description...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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