Newsgroups: rec.arts.int-fiction
Path: gmd.de!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!dsbc.icl.co.uk!oasis.icl.co.uk!news
From: richard@wg.icl.co.uk (Richard Barnett)
Subject: ?BUG? EXTEND with archimedes inform 5 v1258/at
Message-ID: <RICHARD.94Oct3130246@c351.wg.icl.co.uk>
Lines: 45
Sender: news@oasis.icl.co.uk
Nntp-Posting-Host: c351.fss.icl.co.uk
Organization: ICL Future Systems Software
Date: Mon, 3 Oct 1994 12:02:46 GMT

i've started writing a simple fiction using inform, using both
my partner's archimedes (archimedes inform 5 v1258/at) and a
sparcstation at work (inform 5 v1261/a)

i've been trying to use the Extend directive; on the archimedes i get the 
error
  Expected an assignment, command, directive or opcode but found "Extend"
while on the sparcstation the same code compiles correctly.

is this a known bug?  does anyone know when it will be fixed?

another subtlety i noticed is the following:  while code like

  Object room "a big room"
    with name "room",
	 description "dull",
	 s_to lardRoom
     has light;

compiles and works ok;  if i add a before routine

  Object room "a big room"
    with name "room",
	 description "dull",
	 s_to lardRoom,
	 before
	 [; "you're glad to leave that dull room.";
	 ]
     has light;

then the attribute 'light' is not set for this object.  i know that the
manual says that routines have to end in either '],' or '];' -- i just
thought that this was a bit strange, given that simpler properties don't
have to end in ','.

finally, omitting the ';' which separates a routine's local variables from
its definition can produce some entirely unhelp- ful error messages.

-- richard

-- 
_______________________________________________________________________________

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