Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!news.ruhr-uni-bochum.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!news-koe1.dfn.de!news-kar1.dfn.de!news-stu1.dfn.de!news.belwue.de!swidir.switch.ch!news.grnet.gr!btnet-feed2!btnet!netcom.net.uk!netcom.com!erkyrath
From: erkyrath@netcom.com (Andrew Plotkin)
Subject: Re: [Inform] Semi-Wierd Error. . .
Message-ID: <erkyrathE29vHv.5ME@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
References: <32AEE428.23BB@fred.aurora.edu>
Date: Wed, 11 Dec 1996 23:20:19 GMT
Lines: 34
Sender: erkyrath@netcom.netcom.com

chidder@fred.aurora.edu wrote:
> Hi.  This is really a minor thing, but I figured Id mention it.
> The current code Im working on is 103 lines long, and compiles with
> one error and one warning.

>   Warning: XyzzySub routine declared but not used.

> Well, yeah. I dont have any need to trap it or anythging cause I want
> you to get the same printed response no matter where you type xyzzy.

>  But this is the wierd Bit:
>   Error line 108(keep  in mind the code is - 103 lines long - )
>    No souch routine XyzzySubSub.

> The game will compile if XyzzySub is removed, and as its not
> _strictly_ necessary, Ive taken it out for now.  Id like to be
> able to put it back sometime though. . .

Here's my guess: you declared the grammar line as

Verb "xyzzy" * -> XyzzySub;

instead of

Verb "xyzzy" * -> Xyzzy;

Do I win a cookie?

--Z

-- 

"And Aholibamah bare Jeush, and Jaalam, and Korah: these were the
borogoves..."
