Newsgroups: rec.arts.int-fiction
Subject: before inform exits
From: tim.middleton@canrem.com (Tim Middleton)
Path: nntp.gmd.de!Dortmund.Germany.EU.net!Germany.EU.net!howland.reston.ans.net!news-e1a.megaweb.com!newstf01.news.aol.com!uunet!in1.uu.net!fonorola!portnoy!canrem.com!tim.middleton
Distribution: world
Message-ID: <60.5704.4154.0N1E65D0@canrem.com>
Date: Sun, 11 Jun 95 22:51:00 -0500
Organization: CRS Online  (Toronto, Ontario)
Lines: 25

I simply can't get Inform to give me any control during the BEFORE property
of an EXIT verb... for an example...

Nearby chair "Chair"
    with
    name "comfy" "cozy" "chair",
    description "You see a comfy chair",
    before [; enter: print "You sink deeply into the plush cushions.^";
              exit : Print "Gosh, that was cozy.^";
           ],
    has supporter enterable static scenery;


Shove this rudimentary object into a room and sit on it. You will get the
"enter" message before you sit. However you won't get the "exit" message
when you stand up.

Am i missing something or is this a bug?

I checked, just for interest's sake, putting a message in the AFTER property
as well, and it doesn't seem to get any control after "exit"ing either.


---
  ...with love and tomato sandwiches.      <as544@torfree.net>
