Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!news.ruhr-uni-bochum.de!news.uni-stuttgart.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!blackbush.xlink.net!sol.ctr.columbia.edu!news.mindlink.net!van-bc!van.istar!ott.istar!istar.net!infoshare!reptiles.org!freenet.durham.org!news
From: identity.matters@io.org (Nebt Boink Bonk Boink Zachariassen Bonk Boink)
Subject: Re: [Inform 603] seeming bugs?
X-Pgp-Fingerprint: A4 3B D5 A9 C2 26 F2 34  FD 85 A5 8E 15 09 79 6B
X-Moon-Phase: The Moon is a Waxing Gibbous (94.47% of Full).
X-Newsreader: Yarn for OS/2 v0.90 (/w FTE editor in email mode! + Yep)
Reply-To: ab651@freenet.durham.org
Sender: news@freenet.durham.org (Superuser)
Nntp-Posting-Host: freenet.durham.org
Lines: 34
Organization: Wal-Mart Greeters Union 43, The Docks
Message-ID: <+khrxwaSu0nG090yn@io.org>
X-Dire-Warning: DO NOT TAUNT HAPPY FUN BALL
References: <9j6qxcyp/fdZ090yn@io.org> <4ohkd7$afj@lyra.csx.cam.ac.uk>
Date: Thu, 30 May 1996 21:55:10 GMT

29 May 1996 13:45:11 GMT, rit10@cl.cam.ac.uk (Richard Tucker) wrote:
>Looks to me as if your program declares its own attributes and/or properties
>before including the libraries. If you want to do this, you must make
>sure you include the header file with the basic attribute declarations
>before you define your own. Alternatively, include the parser before you
>declare your own attributes and properties.

Bingo. It wasn't an attribute, but a property. I just moved it down to
below the include "VerbLib", and the program runs fine now compiled with
modules.

The order of including libraries, i must had admit has always confused me
and boggled my limitted mind somewhat. Perhaps it's another one of those
things that makes sense to "C" people. In fact when i first began with
Inform I figured out where to place the includes more by trial and error
than any instruction or deductive logic!

The compiler should maybe generate an error or warning if attributes are
properties are defined before the "Parser" library is included maybe? (Even
though it works fine with old-style non-module compiling).

Thanks for your help, i NEVER would have figured that out.

>Perhaps a check to see if the declarations matched (which I assume would
>mean adding some information to the module format) would be a good
>addition in inform 6.04 or 6.1?

Or something. (-:

-- 
 .+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.
  Tim Muddleton =As Gregor Samsa awoke one morning= as544@torfree.net
  -=-=-= begging you to read Till We Have Faces by C. S. Lewis =-=-=-
 `'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~
