Difference between revisions of "TIASum"

From SCAR Divi Manual
Jump to: navigation, search
(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...")
(No difference)

Revision as of 18:48, 24 October 2011

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