Difference between revisions of "ASUM()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 33: | Line 33: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Array Processing]] | ||
+ | [[Category:Array Processing Functions]] |
Revision as of 15:39, 1 June 2009
Class
Array Processing
Purpose
Function to calculate the sum of element values in an array
Syntax
ASUM(<array>)
See Also
AADD(), AAVERAGE(), ABROWSE(), ACHOICE(), ACOL(), ACOPY(), ADEL(), ADESC(), ADIR(), AELEMENT(), AFIELDS(), AFILL(), AINS(), ALEN(), AMAX(), AMIN(), APPEND FROM ARRAY, AROW(), ASCAN(), ASIZE(), ASORT(), ASTORE(), ASTRING(), ASUBSCRIPT(), COPY TO ARRAY, DECLARE, DIMENSION, GATHER, LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, SCATTER
Description
The ASUM() function calculates the sum of all the numeric elements in the specified <array> and returns the total.
Example
use payroll declare aNumber[reccount(),1] copy to array aNumber fields pay_amount ? asum(aNumber) 127641.73
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer