Newsgroups: rec.arts.int-fiction
Path: gmd.de!jvnc.net!darwin.sura.net!zaphod.mps.ohio-state.edu!caen!uunet!hobbes!jondr
From: jondr@sco.COM (Karen Silkwood's car)
Subject: advsys error messages explained
Organization: The Santa Cruz Operation, Inc.
Date: Tue, 01 Dec 1992 22:34:44 GMT
Message-ID: <1992Dec01.223444.19367@sco.com>
Sender: news@sco.com (News admin)
Lines: 81


based on a recent plea for help in this newsgroup, i scanned the advsys
source code and came up with this first draft at explaining the various
error messages and their meaning.  additions/requests for clarification/etc
welcomed, of course...

-------
advsys errors and what they mean
by jon drukman (jondr@sco.com)

Already defined
	you attempted to redefine a function or constant.

Ambiguous word type
	you already used the word in a different sense (eg: attempting
	to define an action that uses the same word as a previously
	defined noun.)

Expecting expression
	syntax error - probably missing a close parenthesis somewhere!

Expecting identifier, number or string
	you used an incorrect data type in an expression.

Expecting verb
	(verb ...) is required after (action ...)

Expecting: REQUIRED, FORBIDDEN or OPTIONAL
	in defining an action's syntax, you need to specify one of
	those three keywords (or leave it blank, in which case
	OPTIONAL is assumed.)

Insufficient code space
	no more room for code (duh).  i found that you can increase
	the code space in advcom.h and then recompile advcom.  advint
	will still be able to interpret the game.

No adventure identification information
	the game must start with an (adventure name version)
	statement.  see the manual.

Not a property
Not a variable
Not an action
Not an object
	you attempted to use something in a context that is
	inappropriate.  usually means you need to define the object
	with the correct (property ...) (variable ...) (action ...) or
	(object ...) statement.

Too many actions
Too many objects
Too many words
	compiler ran out of space.  i found that you can increase the
	constants in advcom.h as much as you like (until your machine
	runs out of memory).  it won't affect advint's ability to run
	your game.

Unknown action definition statement type
	in defining an action syntax, you used a word the compiler
	didn't recognize.  valid words are: actor, verb, direct-object,
	preposition, indirect-object, code.

Unknown default definition statement type
	in specifying the default syntax, you used a word the compiler
	didn't recognize.  valid words are: actor, direct-object,
	indirect-object.

Unknown object definition statement type
	in defining an object, you used a word the compiler didn't
	recognize.  valid words are: noun, adjective, property,
	class-property, method.

Unknown statement type
	the compiler doesn't recognize the command.  probably due to a
	syntax error, like typing (objec foo).
-- 
Jon Drukman (God's personal DJ)                 uunet!sco!jondr   jondr@sco.com
-------------------------------------------------------------------------------
I was an infinitely hot and dense dot.

