TEADelete

From SCAR Divi Manual
Revision as of 15:19, 22 May 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure TEADelete(var TEA: TExtArray; const Index: Integer); </source> ==Availability== SCAR Divi 3.34 > Current ==Descripti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

procedure TEADelete(var TEA: TExtArray; const Index: Integer);

Availability

SCAR Divi 3.34 > Current

Description

Deletes the extended at a given position Index in a given TExtArray TEA. If the index is outside of the array bounds, the function throws an exception.

Example

var
  TEA: TExtArray;

begin
  TEA := [1.3, 2.5, 3];
  TEADelete(TEA, 1);
  WriteLn(TEAToStr(TEA));
end.

Output:

1,3

See Also