Re: [LONG] Avatar and decapitate code with graveyard from "George" at Sep 3, 98 06:08:48 pm

From: Andrew Helm (ashe@IGLOU.COM)
Date: 09/04/98


On Thu, 3 Sep 1998, George wrote:
>On Wed, 2 Sep 1998, David Sun wrote:
[snip snip]
>>      mmc += atoi(temp);
>
>How about:  mmc += arg[0] - '0';
[snip snip]
>>      if (!mmc)
>>        mmc++;
>
> mmc += (mmc == 0);
>        Although that's a bit much sometimes. :)

Don't you dare.

At least what he had written was *portable* :)


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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