TEAUnique

From SCAR Divi Manual
Revision as of 10:12, 30 April 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure TEAUnique(var TEA: TExtArray); </source> ==Availability== SCAR Divi 3.34 > Current ==Description== This function rem...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

procedure TEAUnique(var TEA: TExtArray);

Availability

SCAR Divi 3.34 > Current

Description

This function removes all of the duplicate extendeds in a given TExtArray TEA.

Example

var
  TEA: TExtArray;      
  Idx: Integer;

begin
  TEA := [0.1, 0.1, 1.8, 2, 3.6, 5, 3.6];
  TEAUnique(TEA);  
  for Idx := 0 to High(TEA) do
    WriteLn(TEA[Idx]);
end.

Output:

0,1
1,8
2
3,6
5