Newsgroups: rec.arts.int-fiction
Path: news.duke.edu!newsgate.duke.edu!news-hog.berkeley.edu!ucberkeley!news.maxwell.syr.edu!newspeer.radix.net!uunet!ash.uu.net!world!not-for-mail
From: buzzard@TheWorld.com (Sean T Barrett)
Subject: Re: [Inform] Bizarre compiling error
Sender: news@world.std.com (Mr Usenet Himself)
Message-ID: <GpGLB9.EvG@world.std.com>
Date: Sat, 5 Jan 2002 09:35:32 GMT
References: <d00c7975.0201042359.29f8737a@posting.google.com>
NNTP-Posting-Host: shell01.theworld.com
Organization: The World Public Access UNIX, Brookline, MA
X-Newsreader: trn 4.0-test72 (19 April 1999)
Lines: 29
Xref: news.duke.edu rec.arts.int-fiction:96932

Michael Iachini <FezzikIF@hotmail.com> wrote:
>In my game, I refer to the verb "Put" a couple of times -- first to
>define a few other verbs as synonyms and later in a Before routine or
>two.  No problem -- I compiled and ran the game without error several
>times with these references to "put" in place.

Either this is false, or the claim you didn't change them later is false,
most likely.

>gpp3.inf(1758): Error:  There is no action routine called "PutSub"
>
>So the error is in line number 1758, right?

The compiler is complaining: "I got to the end of gpp3.inf, and
I never saw a function called 'PutSub', but you referred to one."

You referred to one, most likely, by having 'Put:' inside a before
routine.

There is a 'put' verb, but there is no ##Put action and hence
no PutSub defined anywhere. But by writing 'Put:' somewhere
the compiler now expects there to be a 'PutSub'.

There is no ##Put. There is only ##PutOn and ##Insert.
Hence your before should refer to 'Insert:' or 'PutOn:'
not 'Put:'.

SeanB
[I usually make the same mistake once or twice a game.]
