Re: Restore

From: George Greer (
Date: 04/03/99

On Sat, 3 Apr 1999, Albert Brauneis wrote:

>I wanted to add to restore the capability to type restore all and it would do
>so. I added the code to do it but it seems no matter what I do it will not go
>to that part of the code. This is what I had to check for it in
>if (str_cmp("all",buf))
>That seems never to be true. Why is that?

It's always true unless you type "all".  I'll leave you and your C book to
figure out why.

Hint: str_cmp = strcmp, behavior-wise except for case sensitivity.

George Greer            | Shirak's CircleMUD for Windows help   |

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

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