Re: argh! Help: Weird Inform problem


1 May 95 11:33:22

perjac@inet.uni-c.dk (Per Jacobsen) wrote:

> I tried to recompile toyshop.inf (Version 2, 19/8/94) using Inform (5.4
> (v1403/a) (October 10th 1994))
>
> And suddenly it doesn't work!
>
> If I type
>
> ask christopher about ball
>
>
> I get "Dunno." - (Infact regardless of what I ask him, I get that reply)
>
>
> But if I run the precompiled version, toyshop.z5, he gives the proper
> reply: "That's mine!"

My guess is that it depends on which version of the Inform libarary it
was compiled with. There is a note in the changes.txt file for release
5/8 of the library (note 60) which says:

There was a slight bug in the method of Asking people about things, and
anyway the existing documentation is a bit unclear (read: slightly
wrong). The way to code for this is:

Ask: if (second=='bug') "Graham says, ~It's mended now.~";

though you can also look at special_word directly. What you can't do
is look at noun and expect to find the word there: noun is of course
set to Graham.

I tried changing toyshop.inf accordingly, and it seems to work.

Torbj|rn Andersson