TEADelete
From SCAR Divi Manual
Definition
function TEADelete(var TEA: TExtArray; const Index: Integer): Extended;
Availability
SCAR Divi 3.34 > Current
Description
Deletes the extended at a given position Index in a given TExtArray TEA. The function returns the value it deleted from the array. 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