SumInt
Return the sum of an array of integers
Declaration
Source position: math.pp line 443
function SumInt(const data: PInt64; const N: LongInt) : Int64;
function SumInt(const data: Array of Int64) : Int64;
function SumInt(const data: PInteger; const N: LongInt) : Int64;
function SumInt(const data: Array of Integer) : Int64;
Description
SumInt returns the sum of the N integers in the Data array, where this can be an open array or a pointer to an array.
Errors
An overflow may occur.