Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!newsserver.jvnc.net!netnews.upenn.edu!news.cc.swarthmore.edu!psuvax1!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!pipex!dsbc.icl.co.uk!oasis.icl.co.uk!news
From: richard@wg.icl.co.uk (Richard Barnett)
Subject: Re: Inform question (default values)
In-Reply-To: rjones@us.oracle.com's message of 30 Nov 94 18:51:04 GMT
Message-ID: <RICHARD.94Dec1095214@c351.wg.icl.co.uk>
Lines: 28
Sender: news@oasis.icl.co.uk
Nntp-Posting-Host: c351.fss.icl.co.uk
Organization: ICL Future Systems Software
References: <rjones.786221464@us.oracle.com>
Date: Thu, 1 Dec 1994 09:52:12 GMT

In article <rjones.786221464@us.oracle.com> rjones@us.oracle.com (Roger B Jones Jr) writes:

   Is it possible to change the default value of a property?  I'd like to
   change the default of the cant_go property, and don't want to have to give
   each room a class just to change this one property.  I _don't_ want to 
   modify the library files.

i've been pondering a question which is similar in that the trivial answer
to both is "modify the library files";  i'm wondering if there are any
other ways of doing it.

my query is: can you modify existing objects after (ie later in the inform
source; at compile-time) they've been defined/declared?

for example, the compass directions are defined in parser.h; i want to set
the number property for each direction without modifying any other property
or attribute.

any ideas?

-- richard


-- 
_______________________________________________________________________________

richard barnett						   richard@wg.icl.co.uk
_______________________________________________________________________________
