MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: [newbie] Programmer Tutorial Question



At 01:23 PM 1/19/96 PST, you wrote:
>I'm stuck trying to make this work.  Compiler says that line 3 is not
>good:
<snip>
>  1: if (this.wound)
>  2:    if ($object_utils:isa(this.location,$room)

You are missing a closing ) on the end of line 2.

Due to the nature of the MOO code parser, there is not much you can do to
get around this, but when you get a parse error, be sure to look on the
surronding lines.

>__3_      this.location:announce_all(this.name," ",this:continue_msg());
>^^4^     this.wound = this.wound - 1;
>  5:     if (this.wound)
>




Home | Subject Index | Thread Index