TEASum

From SCAR Divi Manual
Revision as of 16:33, 12 December 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function TEASum(const TEA: TExtArray): Extended; </source> ==Availability== SCAR Divi 3.38 > Current ==Description== Return...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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