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

         Returns the minimum value of an array

    Syntax:

         aMinArr ( aArray ) -> xMax

         aArray : The array to treat

    Description:

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

    Return:

         The minimum 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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson