Re: [CODE] Recall/Clone code on FTP

From: Sammy (samedi@DHC.NET)
Date: 09/21/97


On Sun, 21 Sep 1997, Ron Hensley wrote:

> I think I have to dissagree with that statement. Got stock code and
> unzipped it. Here is the result of:

As I said:

> > Any
> > "return 0" in a special that is called after a destructive argument parse
    ^^^^^^^^^^              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > function is asking for trouble.

Look at the pet shop code again.  The one_argument call is only made if
the command is "buy", and after acting on the arguments will return a 1 to
let the interpreter know it should stop checking for spec_procs and
commands.

Sam


     +------------------------------------------------------------+
     | 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/08/00 PST