TIASum

From SCAR Divi Manual
Revision as of 18:48, 24 October 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function TIASum(const TIA: TIntArray): Integer; </source> ==Availability== SCAR Divi 3.28 > Current ==Description== Returns th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function TIASum(const TIA: TIntArray): Integer;

Availability

SCAR Divi 3.28 > Current

Description

Returns the sum of all integer values in the given TIntArray TIA.

Example

begin
  WriteLn(TIASum([0, 1, 3, 4]));
end.

Output:

8