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

# Re: [newbie] Programmer Tutorial Question

- Date: Fri, 19 Jan 1996 13:01:40 PST
- From:
- Cc: moo-cows@parc.xerox.com
- In-reply-to: "D. Jason Nolan"'s message of "Fri, 19 Jan 1996 13:23:25 PST" <31000BCD.31DF@oise.on.ca>

    D. Jason Nolan writes:
    > #110:do_the_work not compiled because:
    >   Line 3:  syntax error
    >
    >   1: if (this.wound)
    >   2:    if ($object_utils:isa(this.location,$room)
    > __3_      this.location:announce_all(this.name," ",this:continue_msg());
    > ^^4^     this.wound = this.wound - 1;

    You're missing a closing parenthesis at the end of line 2; the compiler accepts
    a line-break anywhere that a space could appear (except inside a string), so
    it's gotten all the way to the beginning of line 3 before it can tell that
    you've forgotten it.

    	Pavel

References:

- [newbie] Programmer Tutorial Question

- From: "D. Jason Nolan" <jnolan@oise.on.ca>

- Prev: Re: [newbie] Programmer Tutorial Question
- Next: Re: [newbie] Programmer Tutorial Question
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index