System.Math.SumInt

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SumInt(const Data: array of Integer): Integer;

C++

extern DELPHI_PACKAGE int __fastcall SumInt(const int *Data, const int Data_High);

Properties

Type Visibility Source Unit Parent
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Returns the sum of the elements in an integer array.

Sum returns the sum of all the values in the Data array parameter. In C++, the Data_Size parameter specifies the index of the last value in Data (one less than the number of values).

See Also