TIASum

From SCAR Divi Manual
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