[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Math' (#rtl)

SumInt

Return the sum of an array of integers

Declaration

Source position: math.pp line 436

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.


Documentation generated on: Jun 22 2020