# [newbie] Programmer Tutorial Question

"Seth I. Rich" (sir@po.cwru.edu)
Fri, 19 Jan 1996 13:41:47 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    >  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;
    >  5:     if (this.wound)

    Look at line 2.  You didn't close the parentheses completely.  Try:
      if ($object_utils:isa(this.location,$room))
                                                ^ the missing parentheses

    Seth / Blackbriar
    ---------------------------------------------------------------------------
    Seth I. Rich - sir@po.cwru.edu                         no, no quote.
    Rabbits on walls, no problem.                          it's far too cold.