Difference between revisions of "TEADelete"

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

Revision as of 15:19, 22 May 2012

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