TIAUnique

From SCAR Divi Manual
Revision as of 11:42, 21 October 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure TIAUnique(var TIA: TIntArray); </source> ==Availability== SCAR Divi 3.28 > Current ==Description== This function rem...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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