: and then type:
: >ask nixon about watergate
: "I don't know."
:
: Which is wrong. It is not only in my code it goes wrong - if I compile the
: example game TOYSHOP.INF, I don't get the messages I should when I `ask boy
: about cubes' or `ask boy about toys', but just "Dunno.".
: What is wrong?
The Inform manual is wrong. The "Ask:" portion of your code should read:
Ask: if (second == 'watergate') "~Who sent you?~"; "~I don't know.~";
This is the most frequently encountered error in the Inform manual (and
the only one I personally know of). The new version promises to fix this.
Any day, now, Graham...
-- C.E. Forman ceforma@rs6000.cmp.ilstu.edu Read the I-F e-zine XYZZYnews, at ftp.gmd.de:/if-archive/magazines/xyzzynews! * Interactive Fiction * Beavis and Butt-Head * The X-Files * MST3K * C/C++ *