TIAUnique

From SCAR Divi Manual
Jump to: navigation, search

Definition

procedure TIAUnique(var TIA: TIntArray);

Availability

SCAR Divi 3.28 > Current

Description

This function removes all of the duplicate integers in a given TIntArray TIA.

Example

var
  TIA: TIntArray;

begin
  TIA := [0, 0, 1, 2, 3, 5, 3];
  TIAUnique(TIA);
  WriteLn(TIAToStr(TIA));
end.

Output:

0,1,2,3,5

See Also