Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 twSumArray( aArray, nStart, nEnd )
 ----------------------------------------------------------------------------
     Sum an Array of numerics or strings. For numbers the arithmetic
     sum is returned. For strings, the total length of the strings is
     returned.

       Arguments:

     aArray - 'A' Array to be summed.

     nStart - 'N' Start element. Defaults  to the first element.

     nEnd   - 'N' End element. Defaults to the last element.

       Return:

     Numeric.

       Example:

     nArraySum := twSumArray( aNumbers )

     nTotalLength := twSumArray( aStrings )



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