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>aminarr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    aMinArr()

         Returns the minimun value of an array

    Syntax:

         aMinArr ( aArray ) -> xMax

         aArray : The array to treat

    Description:

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

    Return:

         The minimun value or 0 if the array is empty.

    Example:

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

See Also: aMaxArr()

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