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

# callers() and :huh

- Date: Fri, 26 Jan 1996 08:15:14 PST
- From:
- Content-Type: text/plain; charset="us-ascii"

    I want to be clear on some weird behavior I've had reported to me,
    regarding the way callers() handles :huh parsing (I'm using an unmodified
    1.7.9p2 on a Linux box).  As an experiment, I've created a room with the
    following verbs:

      #1955:test/huh none none none rxd #2
      this:dump()

      #1955:dump this none this rxd #2
      notify(player, "--- starting callers() dump ---");
      for i in (callers())
        notify(player, toliteral(i));
      endfor
      notify(player, "--- ending callers() dump ---");

    If I type, in that room, `test', I get:
      --- starting callers() dump ---
      {#1955, "test", #2, #1955, #2}
      --- ending callers() dump ---

    If I type `spaghetti' (a nonmatching verb) I get:
      --- starting callers() dump ---
      {#1955, "spaghetti", #2, #1955, #2}
      --- ending callers() dump ---

    ... which, i think, falsely implies that there exists a wizowned verb
    #1955:spaghetti.  Programmers who crawl up callers() could crash on this
    sort of behavior.  Is this wrong, or is it just incompletely documented?

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

Follow-Ups:

- Re: callers() and :huh

- From: Pavel Curtis <pavel@parc.xerox.com>

- Prev: callers()
- Next: Re: callers() and :huh
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index