Difference between revisions of "TIAUnique"

From SCAR Divi Manual
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 11:42, 21 October 2011

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