[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
PrologErrorList2

(Prolog) Error list #2

All errors from 1000 and beyond. See error list #1 for errors from 0 to 1000.

From http://tersi.web.elte.hu/PROLOG/PROLOG.ERR.

1000 The arguments in 'makewindow' are illegal.
     Check that
      - the window number is in the range 1 .. 127
      - StartRow+NoOfRows <= no. of rows on screen (usually 25 or 43)
      - StartCol+NoOfCols <= no. of cols on screen (usually 80 or 120)
1001 The cursor values are illegal. 
     The Row and Column must be inside the actual window.
1002 Stack overflow. Re-configure with Options if necessary.
     It may be a help to re-compile the program with the option
     'check_determ' turned on in order to check that no unnecessary
     backtrack points are stacked, as these increase stack consumption
     quite considerably.
1003 Heap overflow. Not enough memory or an endless loop.
1004 Arithmetic overflow in real operation.
     The range for reals is  -1.0e308 .. 1.0e308.
1005 The window referred to is unknown.
     The window specified doesn't exist, either because it's never been
     created or because it's been removed before the current call to
     'shiftwindow' or 'gotowindow'.
1006 There isn't enough room in the editor for the text. 
     The maximum text size is 64K.
1007 Heap overflow. 
     Not enough memory or an endless loop.
1008 Arithmetic overflow in integer operation. 
     The result cannot be stored in a 16-bit integer, which has a range 
     of -32768 .. 32767.
1009 Trail overflow. 
     Use trail=size to get more space.
     The trail is only used in connection with reference variables,
     where a free variable with input flowpattern is matched with
     a constant or another variable with input flowpattern.
       However, the used part of the trail can only be recovered when a
     predicate fails and backtracks over the point where the trail was used.
     Therefore, if the problem persists in spite of increases in the trail
     size, it is necessary to change the execution sequence to avoid the
     excessive trail usage. This may often be the case if a top-level 
     predicate uses infinite recursion ('run:- process, run.') rather than a
     repeat-fail combination.
1010 Attempt to open a previously opened file. 
     Note that a symbolic filename, declared with a file-domain, can only be
     used for one file at a time.
1011 Attempt to assign input device to a file that is not in readmode. It is
     usually a bug in the program if you refer to a closed file. If, 
     however, you want the predicate to fail if the file isn't open, you can
     surround the call with the 'trap' predicate:
       ..., trap(readdevice(Dev),_,fail), ...
1012 Attempt to assign output device to a file that is not in writemode. It
     is usually a bug in the program if you refer to a closed file. If, 
     however, you want the predicate to fail if the file isn't open, you can
     surround the call with the 'trap' predicate: 
       ..., trap(readdevice(Dev),_,fail), ...
1013 Failure in 'system' call. 'system' tried to load a program too big to
     fit in the available memory space, or which remained resident.
1014 Division by zero.
1015 Illegal window number. An attempt to refer to a non-existing window was
     made. If you want to test, and perhaps fail, on the existence of a
     window, use the standard predicate 'existwindow'.
1016 Maximum number of windows exceeded. ( The maximum is 34. )
1017 The arguments in 'resizewindow' are illegal. in resizewindow
     (StartRow,StartCol,NoOfRows,NoOfCols)
     Check that
      - StartRow+NoOfRows <= no. of rows on screen (usually 25 or 43)
      - StartCol+NoOfCols <= no. of cols on screen (usually 80 or 132)
      - Both StartRow and StartCol are positive.
1018 The file isn't open.
1019 Illegal file mode, should be 0 or 1. '0' specifies Text mode, while '1'
     specifies Binary (raw) mode.
1020 Free variables are not allowed here. This message occurs when a 
     variable from a reference domain is tried to be converted to a non
     reference domain, while the variable is free. During automatic type 
     conversion, as example from integer to real it is required that 
     variables are bound. 'assert', 'writef' and 'format' etc. requires that
     all variables are bound before the call. (Only 'write' will display a
     free variable as an underscore).
1021 Negative values or 0 cannot be arguments to 'log' or 'ln'.
1022 Negative values cannot be arguments to 'sqrt'.
1023 Overflow in real operation.
1024 Error executing external program. The external program might be too big
     to be executed from the Prolog system or it might be an illegal 
     EXE-file. Try to execute the external program from the DOS shell to see
     what happens.
1025 Too few arguments to the format string. There were more arguments 
     specified in the string than what appeared in the call.
1026 The file is too big (max 64K) to be loaded by the 'file_str' predicate.
1027 Impossible to open file.
1028 Impossible to write file.
1030 Disk I/O error.
1031 Overflow in Expanded Memory System.
1032 The database is already open. A given database selector can only be
     opened once.
1033 Invalid database file name.
1034 The database isn't open. No database is currently associated with
     DB_SELECTOR.
1035 The B+TREE isn't open. The B+TREE has been closed since the bt_selector
     was returned from bt_open or bt_create.
1036 The B+TREE already exists. The names for the B+TREES in a single 
     database must be unique, and a B+TREE with the indicated name already
     exists.
1038 The database name already exists in the specified location. The names
     for databases placed in memory must be unique.
1039 Error reopening the database during flush operation. 'db_flush' closes
     and opens the file in order to flush the DOS buffers; there is sadly no
     other way of guaranteeing that the buffers really are flushed on a 
     DOS-system. When the database file is opened again, the same name as
     before is used.  This may cause problems if the database was opened in
     the current (default) directory and this has been changed since then, 
     as 'db_flush' will have closed it in the old directory and tries to 
     look for it in the new directory.
1040 Invalid Order value; it must be between 1 and 255.
1041 Invalid Key length. The key length must be between 1 and 255.
     However, it should be chosen as small as possible in order to save 
     space.
1042 Attempt to update a B+TREE opened more than once. When a B+TREE has
     been opened more than once, it mustn't be updated before the additional
     pointers have been deleted with 'bt_close'.
1043 Type conflict. The term in the database doesn't correspond with the
     domain. Database terms must be inserted and retrieved with variables
     belonging to the same domain.
1044 Unable to create the indicated database.
1045 Unable to open the indicated database in the given place.
1046 No EMS installed. You can not use the option 'in_ems' in db_open and
     db_create if you have no EMS card installed.
1047 Database marked as invalid. Whenever a database is closed, or flushed,
     it is totally consistent and marked as valid; this is reverted to
     invalid when it's contents are changed. If the computer crashes with an
     invalid database, it isn't subsequently safe to open and use it as if
     nothing has happened. In this case you must try to write a short
     recovery/copy program, opening the database with the 'openinvalid'
     predicate and copying the contents as far as they go to a new database.
1048 Unable to delete database in the indicated place.
1049 Invalid database reference number. You are probably using a database
     reference number for a term you have deleted, or you have maybe two
     open databases and are refering to the wrong database.
1050 The chain does not exist in the database.
1051 The named B+Tree does not exist in the database.
1052 Invalid B+Tree selector for the given database. You are probably using
     a bt_selector for a B+Tree you have deleted, or you have maybe two open
     databases and are refering to the wrong database.
1053 Can not delete an open index. (Close it first)
1054 Key and ref not found in B+tree during key_delete. You either have a
     wrong combination of KEY and REF, or you are refering to a wrong B+Tree.
1070 Impossible to execute 'seek' predicate. DOS reported an error during
     execution of the seek predicate.
1071 File is not in readmode, or it is closed.
1072 Impossible to delete file.
1073 Impossible to rename file.
1074 Invalid arguments to the 'date'-predicate.
The arguments should be three integers in the order day, month, year.
1075 Invalid arguments to the 'time'-predicate.The arguments should be four
     integers in the order
        hours       0..24
        minutes     0..59
        seconds     0..59
        hundreths   0..99
1076 'unreadchar' failed because of full buffer (max 128 characters).
1101 Integer expected (during term reading).
1102 Real number expected (during term reading).
1103 Double quote expected (during term reading).
1104 Single quote expected (during term reading).
1105 List start expected (during term reading).
1106 End of list expected (during term reading).
1107 Functor not found in domain (during term reading).
1108 '(' expected (during term reading).
1109 ',' or ')' expected (during term reading).
2000 Not enough storage space for the text.
2001 Can't execute a write operation. It's difficult to establish the exact
     reason for this error, but more often than not it is caused by a full
     disk or an invalidated floppy drive. This latter condition may occur
     when there have been several attempts to write to a drive with no disk
     in.
2002 Impossible to open : The specified file doesn't exist or can't be
     created.
2003 Impossible to erase : The specified file doesn't exist.
2004 Illegal disk : Illegal device or path.
2005 >>> Text buffer full <<<
2006 Can't execute a read operation.
2007 Can't execute a write operation to log file: This may be caused by the
     disk being full. The log file has been closed.
2008 Result string in 'concat' or 'fronttoken' cannot be bigger than 64K.
2009 Illegal path.
2010 Graphics equipment on this machine does not support the specified mode.
2011 Impossible to execute 'system'-predicate.
5100 The predicate is not supported in graphics mode.
5101 A system window (wno>127) can't be removed.
5102 The hardware does not support the specified textmode.
5103 Negative row number.
5104 Row number too big. The specified row-value exceeds the size of the
     current window.
5105 Negative column number.
5106 Column number too big. The specified column-value exceeds the size of
     the current window.
5107 Illegal screen mode, should be in the range 1..8.
5108 Predicate is not supported in text mode.
5109 The direction should be 0 or 1.
5110 Output string in 'frontchar' cannot be bigger than 64K.
5114 The line-coordinates are outside the window.
6000 BGI graphics not installed.
6001 Graphics hardware not detected.
6002 Device driver file not found.
6003 Invalid device driver file.
6004 Not enough memory to load driver.
6005 Out of memory in scan fill.
6006 Out of memory in flood fill.
6007 Font file not found.
6008 Not enough memory to load font.
6009 Invalid graphics mode for selected driver.
6010 Graphics error.
6011 Graphics I/O error.
6012 Invalid font file.
6013 Invalid font number.
6014 Invalid device number.


last edited (December 4, 2006) by bilderbikkel, Number of views: 1988, Current Rev: 4 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.