TIAEquals

From SCAR Divi Manual
Jump to: navigation, search

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