System error messages

ERR 101 Unexpected system error

Error Code passed to prologerrmsg was invalid.

ERR 102 Unexpected fileerror

An unknown error occurred during a file access.

ERR 103 Database error

An error occurred during a database access. Check for bad database reference or operating system error.

ERR 104 Not enough memory for startup

Arity/Prolog32 cannot allocate memory for the stacks during start-up.

ERR 106 Internal windows driver error

You should never see this message.

ERR 107 Error while restoring database

The database for the application could not be found/or was found to be corrupt.

ERR 108 Error writing a page to disk - disk probably full

The disk to which writing is attempted is full.

ERR 109 Could not create overflow file

Arity/Prolog32 cannot create the database overflow file. Check the overflow file specification in the environment file. Remember that Arity/Prolog32 tries to place the overflow file in the directory specified by the TMP variable and this directory must exist.

ERR 110 Maximum number of Prolog threads exceeded

The maximum number of threads for an Arity/Prolog32 program is 64.

ERR 200 Illegal use of an erased ref or key

The instance or replace predicates cannot be used with erased database reference numbers or keys. Correct your program.

ERR 201 Attempt to erase something that has already been erased

You have already erased the term you are attempting to erase. Correct your program.

ERR 202 Attempt to harderase something that has already been harderased

You have already harderased the term you are attempting to harderase. Correct your program.

ERR 203 Invalid database access

The database reference you are using is invalid. Correct your program

ERR 204 A non-existent page or page-table was accessed

The database reference looks valid, but in fact references a part ofthe database that has not yet been created.

ERR 205 Illegal format for database file

The database file is not in a format compatible with Arity/Prolog32.

ERR 206 Database file not found

Arity/Prolog32 cannot find the database file. Check the overflow file specification in the environment file.

ERR 208 Database full

The virtual database size has grown beyond the 2 gigabyte limit.

ERR 211 Not enough local stack

Your program requires more local stack space than Arity/Prolog32 can provide as configured. You can increase the size of the local stack in the environment file. The default size is 1Mb. Compiled programs often use much less local stack than interpreted programs, especially during debugging. You should check that you are not recursing deeply without the proper use of cuts to remove choice points.

ERR 212 Not enough global stack

Your program requires more global stack space than Arity/Prolog32 can provide as configured. You can increase the size of the global stack in the environment file. The default size is 1Mb. Compiled programs often use much less global stack than interpreted programs, especially during debugging. You should check that you are not recursing deeply without the proper use of cuts to remove choice points.

ERR 214 Error while saving database

Not enough room to complete save. Since save does not remove the old database until a new one is created (hence a "safe save"), there must be twice the size of the database available on diskette.

ERR 215 Prolog predicate called as a C function failed.

A predicate used as a function should not fail. Correct your program.

ERR 216 Invalid return type of function

Return type of function can not be cast to expected value. Correct your program.

ERR 217 Run-time type error in embedded C expression

Prolog variable instantiated to a value that can not be cast to type defined in embedded C expression. Correct your program.

ERR 503 Attempt to redefine built-in predicate – <name/arity>

You have consulted a predicate which has the same name as an Arity/Prolog32 built-in predicate. Rename the predicate.

ERR 508 Error in macro expansion – <<Term is Expression>>

An attempt to evaluate Expression to substitute for Term was made, but Expression evaluated to 'err'.

ERR 509 :- elif without corresponding :- if

An elif declaration was found without a preceding if declaration.

ERR 510 :- endif without corresponding :- if

An endif directive was found without a preceding if directive.

ERR 511 Warning, redefining macro – <<Macro>>

An additional define declaration was found for Macro. The latest definition is used.