Newsgroups: rec.arts.int-fiction
Path: gmd.de!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!usenet!zbir
From: zbir@silver.ucs.indiana.edu (Zachery J. Bir)
Subject: Question on TADS code and errors
Message-ID: <ZBIR.94Aug31084136@silver.ucs.indiana.edu>
Sender: news@usenet.ucs.indiana.edu (USENET News System)
Nntp-Posting-Host: silver.ucs.indiana.edu
Organization: Indiana University
Date: Wed, 31 Aug 1994 13:41:36 GMT
Lines: 60

Okay, I've been playing around some more with TADS 2.1, making some
decent code that's perfectly clean (at least, I think it's clean) - as
far as I can tell, mainly because I'm using Ditch.t as a paradigm for
some of my code, but I keep getting this error whem I compile my code:

"Opus:System Folder:TADS 2.1:friday.t(80): error TADS-605: unknown: no
error message file"

Following is the offending code in toto:

book: readable
	sdesc = "fantasy novel"
	ldesc = "It's just a fantasy novel that you haven't read in
quite some while. If you remember correctly, it deals with a young
person who is swept away into a fantasy realm while reading a book.
You shouldn't rely on tripe like this to feed your escapist habits.
Bad for you, you know."
	noun = 'book' 'novel'
	adjective = 'fantasy'
	location = closet
	isread = nil
	verDoRead( actor ) = {}
	doRead( actor ) = 
	  {
	    if ( not self.isread )
	      {
	        "As you crack the book open, an inviting yellow light
spreads forth. It is so bright, your surroundings can no longer be
seen. When the light dims, you find yourself in...";
		Me.moveInto( cliffNiche );
		if ( box.location <> Me )
		  box.moveInto( cliffNiche );
		else;
		"\b\n";
		cliffNiche.sdesc;
		"\n\t";
		cliffNiche.ldesc;
		self.isread := true;
	      }
	    else "The book seems to have lost that strange power.";
	  }
;

Everything compiles fine before I add this code. Can anyone see where
a problem exists? There seems to be another area for problems as well,
but I'm havign a hard time figuring out where. Does TADS barf if you
give it a room with say north = plains, and then do not define plains?

Argh. Thanks,

Zac




--
+----------------------+------------------------+-----------------------------+
|     Zippy Zeeber     |   Eat right. Exercise	| zbir@silver.ucs.indiana.edu |
| Student of the World |   daily. Die anyways.	|    Look for pub key soon... |
+----------------------+------------------------+-----------------------------+
