TIASum

From SCAR Divi Manual
Revision as of 18:49, 24 October 2011 by Freddy (talk | contribs)
(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