Difference between revisions of "TIASum"
From SCAR Divi Manual
(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...") |
|||
Line 23: | Line 23: | ||
[[Category:TIA Functions]] | [[Category:TIA Functions]] | ||
[[Category:Array Functions]] | [[Category:Array Functions]] | ||
+ | [[Category:Math Functions]] |
Latest revision as of 18:49, 24 October 2011
Contents
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