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


Syntax:        L_ARGEN(<array>,<expN1>[,<expN2>,<expN3>])


Purpose:       Calculate the number of elements in an array that are
               greater than or equal to the value specified.


Arguments:     <array> the name of the array to be compared.

               <expN1> the value to compare each element of the array
               with.

               <expN2> the element at which to start comparing.

               <expN3> the element at which to stop comparing.

               If <expN2> and <expN3> are not specified all numeric
               elements in the array are compared.


Returns:       Returns the number of numeric elements in an array that
               are greater than or equal to the value specified.


Examples:      DECLARE array[8]

               array[1] = 23
               array[2] = 0
               array[3] = 46
               array[4] = 2000
               array[5] = 23
               array[6] = 100
               array[7] = 2546
               array[8] = 25

               ? L_ARGEN(array,25)             && Result: 5
               ? L_ARGEN(array,23,4,7)         && Result: 4


Language:      C

See Also: L_AREQN() L_ARGTN() L_ARLES() L_ARLTN()

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