Re: Help with Inform


11 Aug 1995 10:36:27 GMT

Helene Chazin, aka "Neil" <uhchazin@uxa.ecn.bgu.edu> wrote:
> Ok, I am having a little problem with Inform. I want to start the
> player in bed, but when I try to do this, the player is IN the bed.

When I compile and run the following program, the player starts out on
the bed. I am using version 5/11 of the Inform libraries; if you are
using an old version you probably need to update.

Constant Story "EXAMPLE";
Constant Headline "^An Interactive Example^";

Include "parser";
Include "verblib";
Include "grammar";

Object Blank_Room "Blank Room"
has light
with description "An empty room.";

Nearby Bed "bed"
has supporter static enterable
with name "bed";

[ Initialise;
location = Bed;
print "^^^^^Welcome to the example...^^";
];

End;

> The docs for Inform mention some debugging verbs, which aren't there.
> What is the deal with this?

You need to use the directive

Constant DEBUG;

before you include the libraries in order to be able to use the
debugging verbs.

> And one more addendum.. does anyone have source for a Linux version of
> ZIP? Thanks a lot.

If you have a C compiler and a Unix-like interface to the screen (such
as the 'termcap' or 'curses' libraries), then you can compile an
interpreter from these portable sources:

ftp://ftp.gmd.de/if-archive/infocom/interpreters/zip/zip.sh.Z

If you have the X window system and a C compiler, then you can compile
the XZip interpreter from these sources:

ftp://ftp.gmd.de/if-archive/infocom/interpreters/zip/xzip130.tar.Z

--
Gareth Rees