Re: [NEWBIE] Stupid Newbie strcmp question

From: Brandon Lees (Whitlock) (
Date: 01/16/99

Every letter has a numerical value associated with it.  The strcmp simply
subtracts these two for each pari of letters in the string and if it anything other than
zero then the string is not equl but if it is equl then it returns zero because there is
no difference.  THis can be confusing at first but it does have some logic to it.

- Brandon

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 12/15/00 PST