Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>sum the ascii values in a string.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Sum the ascii values in a string.
------------------------------------------------------------------------------

 Syntax

        GT_AsciiSum(<cStr>) --> nSum

 Arguments:

      <cStr>  - The string to sum

 Returns:

      nSum    - The sum of all ascii values in <cStr>.

 Description:

      Sum the ascii value of every character in the passed string
      and return the result.

 Examples:

 Source: ASCIISUM.C

 Author:  Andy M Leighton

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