[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    aMaxArr()

         Returns the maximun value of an array

    Syntax:

         aMaxArr ( aArray ) -> xMax

         aArray : The array to treat

    Description:

         Returns the maximun value of an specified array by the type of data.
         If is a character array, returns the bigest string and if is a
         numeric array returns the bigest number.

    Return:

         The maximun value or 0 if the array is empty

    Example:

         nMax := aMaxArr ( { 2, 3, 1, 9, 7 } )     // 9
         cMax := aMaxArr ( { "Good", "Bad" } )     // "Good"

See Also: aMinArr()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson