Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>min()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MIN()


Syntax:     MIN(<expN1>/<expD1>, <expN2>/<expD2>)

Purpose:    To determine the smaller of the two numeric or date
            expressions.

Arguments:  <exp1> is the first numeric or date expression to be
            compared.

            <exp2> is the second numeric or date expression to be
            compared.

            Note that both arguments must be the same data type.

Returns:    A numeric or date value.

Usage:      MIN() is useful to insure the value of an expression is
            smaller than a specified maximum.

Library:    CLIPPER.LIB


----------------------------------- Examples -------------------------------

   a = 99
   b = 100
   ? MIN(a, b)                   && Result: 99
   ? DATE()                      && Result: 09/01/87
   ? MIN(DATE(), DATE() + 30)    && Result: 09/01/87


See Also: MAX()

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