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...")
 
 
Line 6: Line 6:
 
==Availability==
 
==Availability==
 
SCAR Divi 3.37 > Current
 
SCAR Divi 3.37 > Current
 +
 +
===Notes===
 +
*Before 3.37.02 the function didn't work correctly.
  
 
==Description==
 
==Description==

Latest revision as of 13:06, 26 November 2012

Definition

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

Availability

SCAR Divi 3.37 > Current

Notes

  • Before 3.37.02 the function didn't work correctly.

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