Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>amaxarr()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson