TIAContains

From SCAR Divi Manual
Jump to: navigation, search

Definition

function TIAContains(const TIA: TIntArray; const Int: Integer): Boolean;

Availability

SCAR Divi 3.28 > Current

Description

Returns true if the given TIntArray TIA contains the given integer Int.

Example

begin
  WriteLn(TIAContains([1, 2, 3], 3));
  WriteLn(TIAContains([1, 2, 3], 4));
end.

Output:

1
0

See Also