Difference between revisions of "TEASum"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function TEASum(const TEA: TExtArray): Extended; </source> ==Availability== SCAR Divi 3.38 > Current ==Description== Return...")
 
(No difference)

Latest revision as of 16:33, 12 December 2012

Definition

function TEASum(const TEA: TExtArray): Extended;

Availability

SCAR Divi 3.38 > Current

Description

Returns the sum of all extended values in the given TExtArray TEA.

Example

begin
  WriteLn(TEASum([0.1, 1.2, 3.5, 4.6]));
end.

Output:

8.4