advsys errors and what they mean
by jon drukman (
[email protected])
--------------------------------
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
[email protected]