Difference between revisions of "AMAX()"

From Recital Documentation Wiki
Jump to: navigation, search
Line 33: Line 33:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Array Processing]]
 +
[[Category:Array Processing Functions]]

Revision as of 15:37, 1 June 2009

Class

Array Processing


Purpose

Function to return the highest element value in an array


Syntax

AMAX(<array>)


See Also

AADD(), AAVERAGE(), ABROWSE(), ACHOICE(), ACOL(), ACOPY(), ADEL(), ADESC(), ADIR(), AELEMENT(), AFIELDS(), AFILL(), AINS(), ALEN(), AMIN(), APPEND FROM ARRAY, AROW(), ASCAN(), ASIZE(), ASORT(), ASTORE(), ASTRING(), ASUBSCRIPT(), ASUM(), COPY TO ARRAY, DECLARE, DIMENSION, GATHER, LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, SCATTER


Description

The AMAX() function evaluates all the numeric elements in the specified <array> and returns the highest value.


Example

use payroll
declare number[reccount(),1]
copy to array number fields total
? amax(number)
   8165.19


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer