TEAAppend

From SCAR Divi Manual
Revision as of 15:50, 22 May 2012 by Freddy (talk | contribs)
Jump to: navigation, search

Definition

function TEAAppend(var TEA: TExtArray; const Ext: Extended): Integer;

Availability

SCAR Divi 3.34 > Current

Description

Appends the given extended Ext to end of the given TExtArray TEA. The index of the appended element is returned.

Example

var
  TEA: TExtArray;

begin
  TEA := [0, 1.4, 3.9];
  WriteLn(TEAAppend(TEA, 4.8));
  WriteLn(TEAToStr(TEA));
end.

Output:

3
0,1.4,3.9,4.8

See Also